Da Zheng, le Tue 02 Jun 2009 16:24:27 +0800, a écrit : > It seems to me that the Mach doesn't support TASK_EVENTS_INFO.
/usr/src/gnumach-1€ rgrep TASK_EVENTS_INFO . ./include/mach/task_info.h:#define TASK_EVENTS_INFO 2 /* various event counts */ ./include/mach/task_info.h:#define TASK_EVENTS_INFO_COUNT \ ./doc/mach.info-1: `TASK_EVENTS_INFO' ./doc/mach.info-1: returned is `TASK_EVENTS_INFO_COUNT'. ./doc/mach.info-1: provided it as the TASK_INFO parameter for the `TASK_EVENTS_INFO' ./doc/mach.texi:@item TASK_EVENTS_INFO ./doc/mach.texi:@code{TASK_EVENTS_INFO_COUNT}. ./doc/mach.texi:@code{TASK_EVENTS_INFO} flavor of @code{task_info}. It has the /usr/src/gnumach-1€ so yes, it seems not supported by GNU Mach albeit documented. Samuel