Implementation of a custom threads scheduler. Try to wake-up the thread with a lock...
commit4e6d60b925c2f8b8df2134b40fcbb14fed078704
authorGiuseppe Scrivano <gscrivano@gnu.org>
Sat, 19 Sep 2009 18:29:38 +0000 (19 20:29 +0200)
committerGiuseppe Scrivano <gscrivano@gnu.org>
Sat, 19 Sep 2009 18:29:38 +0000 (19 20:29 +0200)
treecbb1936b07b844f7713c19e5f076056b8c68cf27
parentced0df2779d0faa03be17cf3d25a64b7eb55c73b
Implementation of a custom threads scheduler. Try to wake-up the thread with a lock on the desired buffer, if it can't be done then use round-robin.
src/thread.c
src/thread.h