1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-13 17:47:32 +01:00
Commit Graph

15 Commits

Author SHA1 Message Date
coderstephen
b0e19519d0 Fix semaphores sometimes not removed after termination 2015-07-10 18:24:58 -05:00
coderstephen
e9f09077c9 More appropriate method names 2015-07-10 17:48:50 -05:00
coderstephen
8dd597238d Semaphore handles can be serialized across contexts 2015-07-10 16:17:18 -05:00
coderstephen
2c40e0ddcb Restructure exceptions 2015-07-10 16:16:24 -05:00
coderstephen
e257109ad1 Rename Context to ContextInterface 2015-07-10 16:07:52 -05:00
coderstephen
99873cc74c Only call reInit() in forked process 2015-07-10 15:53:57 -05:00
coderstephen
12a7f75a16 Fix wrong class name 2015-07-10 13:34:40 -05:00
coderstephen
6fc6b6f893 Always unlock even after exceptions and better exceptions thrown 2015-07-10 11:59:38 -05:00
coderstephen
1698aeefcf Rename Synchronizable to Synchronized and move locking to Synchronized
The ability to call synchronized functions now belongs to any Synchronized object.
2015-07-10 11:23:20 -05:00
coderstephen
27549c5c9c Update fork context to support synchronization and asynchronous join 2015-07-10 02:23:08 -05:00
coderstephen
3a30fa1d4c Context interface now synchronizes synchronously and joins asynchronously 2015-07-10 02:22:04 -05:00
coderstephen
40f0ca220e Add semaphore exception type 2015-07-10 02:20:52 -05:00
coderstephen
e435ace0af Add atomic, UNIX-compatible semaphore class 2015-07-10 02:20:34 -05:00
coderstephen
64b429ce25 Another working setup using local UNIX socket pairs for speed 2015-07-09 13:13:20 -05:00
coderstephen
6cf368d3dd Add some really simple working code using forks and sockets 2015-07-09 01:35:34 -05:00