On Fri, Jun 22, 2012 at 01:59:26PM +0400, Andrew Vagin wrote: > Acked > > I don't know why do you need sys_gettid(). Why get sid from glibc is not > suitable. > Will getsid be unique among threads group? As far as I see the answer is no, thus you won't be able to use this feature inside thread group which is not desired. Cyrill