examples: Simplify & fix thread example
authorVincent Torri <vincent.torri@gmail.com>
Wed, 17 Jan 2018 08:31:51 +0000 (17:31 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 3 Apr 2018 02:42:49 +0000 (11:42 +0900)
commitf092c73a2a55b1f35403a00e27995e5263065470
tree8aa212f32e0f9a74a6f56ec2ba9a9f9f2589c4e7
parent8276f19e1d841a7357958ca0fdec6df606f96221
examples: Simplify & fix thread example

This fixes the example for Windows, where apparently it ran into a lot
of errors with spinlock. Note that on Linux we have such errors too
(both before and after the patch):
EINA ERROR: 'Invalid argument' on lock 0x7ffd218af410
EINA ERROR: 'Invalid argument' on unlock 0x7ffd218af410

Patch by @vtorri
src/examples/ecore/ecore_thread_example.c