Commit graph

6 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
d54cbaa749 ecl_check_pending_interrupts() now takes the environment as argument
To wake up a process we need not supply any function (it is faster as it saves a call to queue_signal()
2012-03-20 00:02:47 +01:00
Juan Jose Garcia Ripoll
445431daa4 Mutexes and condition variables now rely on a queue for organizing waiters. 2012-03-19 01:14:22 +01:00
Juan Jose Garcia Ripoll
50cb6b5e07 The condition function in ecl_wait_on() now takes an environment argument. 2012-03-18 13:29:49 +01:00
Juan Jose Garcia Ripoll
141b2f909b Implemented a first version of userspace condition variables. 2012-03-17 20:56:58 +01:00
Juan Jose Garcia Ripoll
15ffd896a9 In ecl_wait_on() added a fast path using spinlocks and a slow path using unwind-protect. 2012-03-17 19:37:52 +01:00
Juan Jose Garcia Ripoll
ce73d0a60a Implemented a wait queue for locks and other events. 2012-02-19 01:23:06 +01:00