[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ADA support for Debian GNU/Hurd



Svante Signell, le Fri 30 Mar 2012 12:55:17 +0200, a écrit :
> +   type struct_sigaction is record
> +      sa_handler : System.Address;
> +      sa_flags   : int;
> +      sa_mask    : sigset_t;
> +   end record;

This is not the proper order, see struct sigaction in bits/sigaction.h:
flags are after sa_mask, not before.

> +   --  True also for GNU/Hurd??
> +   --  GNU/kFreeBSD does not support Thread Priority Protection or Thread
> +   --  Priority Inheritance and lacks some pthread_mutexattr_* functions.
> +   --  Replace them with dummy versions.

Yes, true there too.

> +   type pthread_attr_t is record
> +   type pthread_condattr_t is record
> +   type pthread_mutexattr_t is record
> +   type struct_pthread_fast_lock is record
> +   type pthread_mutex_t is record
etc.

all these need to be updated to our libpthread's structures content.

Samuel


Reply to: