On Thu, Oct 24, 2002, Matthew Mondor wrote: > [...exporting pth_mctx functionality...] > > > Yes, the same idea is also on my TODO list. Unfortunately it is perhaps > > not as easy as it looks, because some of the pth_mctx_*() stuff is just > > macro based and hence exporting it means moving it physically to pth.h > > -- perhaps with other side-effects. I'll look into this, perhaps we > > could wrap the pth_mctx_*() functionality with extra C function for > > easier exporting. > > Yes, that is also why I suggest to perhaps provide an SVR4/SUS like > interface, which could consist of C functions... and then exported and > documented. The API is already well known so it could be a plus... > [...]
I've now finished this TODO list point, too. Details you can find under http://cvs.ossp.org/chngview?cn=2718. For trying it out fetch the snapshot ftp://ftp.ossp.org/pkg/lib/pth/pth-SNAP-20021103.tar.gz or higher. An example you can find in test_uctx.c. Documentation is in pth.pod. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ GNU Portable Threads (Pth) http://www.gnu.org/software/pth/ User Support Mailing List [EMAIL PROTECTED] Automated List Manager (Majordomo) [EMAIL PROTECTED]
