openposix/.../pthread_key_create/speculative/5-1.c

* The pthread_key_create was called twice in the loop
  no wonder it failed with EAGAIN before the loop has
  reached the limit.

* Cleaned up the code a litte.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
1 file changed