-
Notifications
You must be signed in to change notification settings - Fork 1
Home
gby edited this page Sep 13, 2010
·
6 revisions
CoProc is a proof of concept library that aims to provide a nice syntactic sugar coating on the process creation and management API that is modeled after the POSIX threads one to make it easier for new comers to the Linux/Unix programming model to do the Right Thing™ and use processes rather then threads as the basic task abstraction in their applications.
- CoProc allows creating a new process and setting various properties thereof such as priority, stack size and CPU affinity and setting a task name visible is “ps” in a single call
- CoProc maintains a shared memory segment between all created co-processes which you can manage via simple malloc/free style calls and which magically guarantees that all allocation will be mapped to the same virtual memory address in all co-processes.
- CoProc handles signals in a sane fashion: you can direct a signal to any co-processes, specifically.
*CoProc lets you define the amount of resource sharing between co-processes at co-process creation time: for example, you can decide to share file descriptors or not, between different co-processes.
Nothing much yet. Check the include file. You might also be interested in the ELCE Europe 2009 presentation slides in the docs directory.
CoProc is licensed under the GNU Lesser Public Licenses, version 3.0 or later.
CoProc comes with no guarantees and/or warranty of any kind, either explicit or implied. If it breaks, you get to keep both pieces :-)