On Thu, Dec 02, 2004, Stefan Brantschen wrote: > I am starting to use Pth to implement some simple user space threads. > So far, I can successfully create (pth_uctx_create) and switch from/to > (pth_uctx_switch) my contexts. > > Question: do I need to initialize Pth when just using user space > contexts (pth_init)? The test/example (test_uctx.c) does not seem to do > any initialization.
No, the pth_uctx_xxx() sub-API is fully self-contained. You don't have to initialize Pth via pth_init() for it to work. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ GNU Portable Threads (Pth) http://www.gnu.org/software/pth/ Development Site http://www.ossp.org/pkg/lib/pth/ Distribution Files ftp://ftp.gnu.org/gnu/pth/ Distribution Snapshots ftp://ftp.ossp.org/pkg/lib/pth/ User Support Mailing List [EMAIL PROTECTED] Automated List Manager (Majordomo) [EMAIL PROTECTED]