Google
  Web www.spinics.net

Re: [PATCH 1/4] Drop the input-thread core file implementation

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


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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
xorg mailing list
xorg@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/xorg

[X Forum]     [Devices]     [XFree86]     [XFree86 Newbie]     [Site Home]     [IETF Annouce]     [Security]     [Fontconfig]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Video for Linux]     [Linux RAID]     [Linux Resources]

Powered by Linux