Robert Watson
590f242cc0
Add an exit hook, sem_forkhook(), which walks the list of POSIX semaphores
...
owned by a process when it forks, and creates a matching set of references
for the child process, as prescribed by POSIX.
In order to avoid races with other threads in the parent process during
fork(), it is necessary to allocate a temporary reference list while
holding the sem_lock, then transfer those references to the new process
once the sem_lock is released. The implementation is inefficient but
appears functional; in order to improve the efficiency, it will be
necessary to modify the existing structures and logic, which generally
rely on O(n) operations over the global set of semaphores.
2005-02-25 19:10:51 +00:00
..
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-02-18 00:23:36 +00:00
2005-01-06 23:35:40 +00:00
2005-01-29 23:12:00 +00:00
2005-01-29 23:12:00 +00:00
2005-01-29 23:12:00 +00:00
2005-02-25 10:17:53 +00:00
2005-02-17 10:00:10 +00:00
2005-01-26 02:29:18 +00:00
2005-01-08 04:45:57 +00:00
2005-01-06 23:35:40 +00:00
2004-12-26 00:14:21 +00:00
2005-02-22 15:51:07 +00:00
2005-02-24 20:21:41 +00:00
2005-02-10 12:27:58 +00:00
2005-02-10 12:02:37 +00:00
2005-02-22 13:11:33 +00:00
2005-02-25 11:49:42 +00:00
2005-01-29 14:03:41 +00:00
2005-01-06 23:35:40 +00:00
2005-02-04 06:16:05 +00:00
2005-01-06 23:35:40 +00:00
2005-02-08 21:31:11 +00:00
2005-02-24 00:05:50 +00:00
2005-01-06 23:35:40 +00:00
2004-11-01 22:15:15 +00:00
2005-02-10 12:23:29 +00:00
2005-01-25 16:06:05 +00:00
2005-01-25 10:15:26 +00:00
2004-11-09 11:28:40 +00:00
2005-01-21 18:09:17 +00:00
2005-02-16 21:45:59 +00:00
2005-01-30 00:31:19 +00:00
2005-02-18 22:14:40 +00:00
2005-02-10 12:02:37 +00:00
2005-01-05 21:13:27 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-02-10 12:15:49 +00:00
2005-02-13 17:51:47 +00:00
2004-12-30 20:29:58 +00:00
2005-01-06 23:35:40 +00:00
2004-11-30 06:21:38 +00:00
2005-02-19 06:05:49 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2004-12-30 20:29:58 +00:00
2005-02-10 12:16:08 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-02-07 21:45:48 +00:00
2005-02-11 00:14:00 +00:00
2005-01-18 13:53:10 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-01-07 02:29:27 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-02-10 12:20:42 +00:00
2005-01-07 02:29:27 +00:00
2004-12-01 23:16:38 +00:00
2004-12-30 20:52:44 +00:00
2005-02-23 00:50:26 +00:00
2005-01-06 23:35:40 +00:00
2005-02-23 00:43:00 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-02-23 19:32:29 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-02-10 12:02:37 +00:00
2005-02-10 12:02:37 +00:00
2005-01-06 23:35:40 +00:00
2004-12-30 20:30:58 +00:00
2005-02-10 12:02:37 +00:00
2005-01-06 23:35:40 +00:00
2005-01-22 21:14:21 +00:00
2005-02-10 20:19:17 +00:00
2005-01-17 07:56:28 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-01-24 10:50:42 +00:00
2005-01-26 02:28:43 +00:00
2005-01-06 23:35:40 +00:00
2005-02-12 01:22:39 +00:00
2005-02-12 01:22:39 +00:00
2005-02-12 01:22:39 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2004-12-30 19:24:49 +00:00
2005-02-18 19:01:22 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-02-10 12:02:37 +00:00
2005-02-24 00:40:33 +00:00
2005-02-25 19:10:51 +00:00
2005-02-20 15:56:13 +00:00
2005-02-20 15:56:13 +00:00
2005-02-21 21:58:17 +00:00
2005-02-18 21:39:55 +00:00
2005-02-21 21:58:17 +00:00
2005-02-10 12:23:29 +00:00
2005-02-10 12:28:58 +00:00
2005-02-10 12:16:42 +00:00
2005-02-10 12:17:48 +00:00
2005-02-20 23:02:20 +00:00
2005-02-10 12:25:38 +00:00
2005-02-08 18:09:11 +00:00
2005-02-20 23:02:20 +00:00
2005-02-07 18:44:55 +00:00
2005-02-20 23:02:20 +00:00
2005-02-23 10:05:43 +00:00
2005-02-08 18:09:11 +00:00
2005-02-24 00:13:16 +00:00
2005-02-07 09:26:58 +00:00