On Fri, Jul 24, 2009 at 8:43 PM, benadam777 wrote:
>
>
>
> jean-luc malet wrote:
>>
>> I have a X server connection issue
>>
>> freeglut (./tests/GENERATED/GlutWindowTest): Unable to create direct
>> context rendering for window ' '
>> This may hurt performance.
>> XIO: fatal IO error 11 (Resource
ultiple video cards or video cards that
don't support OpenGL.
--
View this message in context:
http://www.nabble.com/strange-behavior-with-threads...-tp24626168p24649869.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Problem reports: http://cygwin.com/
On Thu, Jul 23, 2009 at 4:11 PM, Corinna
Vinschen wrote:
> On Jul 23 15:50, jean-luc malet wrote:
>> Hi!
>> I've the following code :
>> void _Window::Start(void* arg)
>> {
>> ThreadArgs args;
>> args.TheWindow=this;
>> args.args=arg;
>> int err = pthread_create(&mai
On Jul 23 15:50, jean-luc malet wrote:
> Hi!
> I've the following code :
> void _Window::Start(void* arg)
> {
> ThreadArgs args;
> args.TheWindow=this;
> args.args=arg;
> int err = pthread_create(&main_thread,NULL,_Start, (void*)&args);
> if (err)
> {
jean-luc malet wrote:
> Hi!
> I've the following code :
> void _Window::Start(void* arg)
> {
> ThreadArgs args;
This allocates a ThreadArgs struct on the stack.
> int err = pthread_create(&main_thread,NULL,_Start, (void*)&args);
This passes a pointer to the ThreadArgs struct
Hi!
I've the following code :
void _Window::Start(void* arg)
{
ThreadArgs args;
args.TheWindow=this;
args.args=arg;
int err = pthread_create(&main_thread,NULL,_Start, (void*)&args);
if (err)
{
throw new Exception(err, "window thread c
6 matches
Mail list logo