Hi,
This may be more suited to a general D mailing list, but - i'm trying to
analyse LWP activity on a system, and faltering at the first hurdle. The
lwp_create() call is prototyped as:
klwp_t * lwp_create(void (*proc)(), caddr_t arg, size_t len, proc_t *p, int
state, int pri, const
The error I am getting is:
operator - cannot be applied to a forward declaration: no struct
proc_t definition is available
You need to use the same syntax as in C. This means either 'proc_t' or
'struct proc'.
Adam
--
Adam Leventhal, Fishworks
On Fri, Jun 5, 2009 at 9:48 AM, Danny Websterdannywebs...@gmail.com wrote:
Hi,
This may be more suited to a general D mailing list, but - i'm trying to
analyse LWP activity on a system, and faltering at the first hurdle. The
lwp_create() call is prototyped as:
klwp_t * lwp_create(void