On Thu, 27 Jun 2013 15:27:32 +0200, Pascal Stumpf wrote:
> These functions are not implemented in rthreads; also applies to 4.8 of
> course:

Sorry, ignore this part.  Only the manpages are missing.

> 
> > ++   function pthread_attr_setscope
> > ++     (attr            : access pthread_attr_t;
> > ++      contentionscope : int) return int;
> > ++   pragma Import (C, pthread_attr_setscope, "pthread_attr_setscope");
> > ++
> > ++   function pthread_attr_getscope
> > ++     (attr            : access pthread_attr_t;
> > ++      contentionscope : access int) return int;
> > ++   pragma Import (C, pthread_attr_getscope, "pthread_attr_getscope");
> > ++
> > ++   function pthread_attr_setinheritsched
> > ++     (attr            : access pthread_attr_t;
> > ++      inheritsched : int) return int;
> > ++   pragma Import
> > ++     (C, pthread_attr_setinheritsched, "pthread_attr_setinheritsched");
> > ++
> > ++   function pthread_attr_getinheritsched
> > ++     (attr         : access pthread_attr_t;
> > ++      inheritsched : access int) return int;
> > ++   pragma Import
> > ++     (C, pthread_attr_getinheritsched, "pthread_attr_getinheritsched");
> > ++
> > ++   function pthread_attr_setschedpolicy
> > ++     (attr   : access pthread_attr_t;
> > ++      policy : int) return int;
> > ++   pragma Import (C, pthread_attr_setschedpolicy,
> > ++     "pthread_attr_setschedpolicy");
> > ++
> > ++   function pthread_attr_getschedpolicy
> > ++     (attr   : access pthread_attr_t;
> > ++      policy : access int) return int;
> > ++   pragma Import (C, pthread_attr_getschedpolicy,
> > ++     "pthread_attr_getschedpolicy");
> > ++
> > ++   function pthread_attr_setschedparam
> > ++     (attr        : access pthread_attr_t;
> > ++      sched_param : int) return int;
> > ++   pragma Import (C, pthread_attr_setschedparam, 
> > "pthread_attr_setschedparam");
> > ++
> > ++   function pthread_attr_getschedparam
> > ++     (attr        : access pthread_attr_t;
> > ++      sched_param : access int) return int;
> > ++   pragma Import (C, pthread_attr_getschedparam, 
> > "pthread_attr_getschedparam");
> 
> 

Reply via email to