OSSP CVS Repository

ossp - Difference in ossp-pkg/pth/pth.h.in versions 1.134 and 1.135
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/pth/pth.h.in 1.134 -> 1.135

--- pth.h.in     2002/10/25 11:56:16     1.134
+++ pth.h.in     2002/11/03 09:59:32     1.135
@@ -306,6 +306,10 @@
     pth_mutex_t   br_mutex;
 };
 
+    /* the user-space context structure */
+typedef struct pth_uctx_st *pth_uctx_t;
+struct pth_uctx_st;
+
     /* filedescriptor blocking modes */
 enum {
     PTH_FDMODE_ERROR = -1,
@@ -475,6 +479,14 @@
 extern int            pth_barrier_init(pth_barrier_t *, int);
 extern int            pth_barrier_reach(pth_barrier_t *);
 
+    /* user-space context functions */
+extern int            pth_uctx_create(pth_uctx_t *);
+extern int            pth_uctx_make(pth_uctx_t, char *, size_t, const sigset_t *, void (*)(void *), void *, pth_uctx_t);
+extern int            pth_uctx_save(pth_uctx_t);
+extern int            pth_uctx_restore(pth_uctx_t);
+extern int            pth_uctx_switch(pth_uctx_t, pth_uctx_t);
+extern int            pth_uctx_destroy(pth_uctx_t);
+
     /* extension functions */
 extern Sfdisc_t      *pth_sfiodisc(void);
 

CVSTrac 2.0.1