On Sat, 2008-09-06 at 17:33 +0100, Tiago Vignatti wrote:
> +void
> +CloseInputThread (void)
> +{
> + RemoveEnabledDevice(InputThreadReadPipe);
> + FD_ZERO(&InputThreadFd);
> + NumDevicesThreaded = 0;
> +
> + syscall(__NR_tkill, tid_generation);
> +}
I don't think you meant this. tkill(2) takes two arguments:
int tkill(int tid, int sig);
More to the point, tkill is a linuxism. Any reason to not just use
pthread_kill() ?
- ajax
signature.asc
Description: This is a digitally signed message part
_______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
