examples: simplify the thread synchronization code
authorJosep Torra <n770galaxy@gmail.com>
Sat, 28 Sep 2013 11:32:37 +0000 (13:32 +0200)
committerJosep Torra <n770galaxy@gmail.com>
Sat, 28 Sep 2013 12:14:54 +0000 (14:14 +0200)
commit244320fe480eec0e299ab1af78de307b310a4ebb
tree8edc7a0656b3997ce9d808625df04fce2bfb5131
parentb129376a5721b7fc3632f239140f0cdbf20db2d8
examples: simplify the thread synchronization code

Make everithing more simple and fix the races conditions remaining in
the previous approaches.
examples/egl/testegl.c