From: Andrzej K. Haczewski Date: Thu, 05 Nov 2009 20:38:41 GMT Subject: Re: [PATCH] MSVC: Windows-native implementation for subset of Pthreads API Message-ID: <16cee31f0911051238v71ec4b57s415efb7bb48999d1@mail.gmail.com> In-Reply-To: 2009/11/5 Nicolas Pitre : > 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