2009/11/5 Nicolas Pitre <nico@xxxxxxxxxxx>: > Why not? At least gcc is quite happy with such a construct. It > probably makes a copy of the stack before passing it though. Err... my mind is rotted with all that ugly java, c#, python and ruby, even c++. I should start taking some medications I suppose... what was I thinking is that C can't copy-construct a struct. Damn, too much sun (of java fame)... That way I rediscovered simple struct construct...man I missed C so much :) Anyway, the solution with passing pthread_t as pointer saves some stack, so it's probably not that bad. -- Andrzej -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html