Re: [Jack-Devel] A couple of questions about Jackdmp

PrevNext  Index
DateMon, 18 Apr 2011 15:25:14 +0100
From John Emmas <[hidden] at tiscali dot co dot uk>
To[hidden] at lists dot jackaudio dot org
In-Reply-ToStéphane Letz Re: [Jack-Devel] A couple of questions about Jackdmp
Follow-UpStéphane Letz Re: [Jack-Devel] A couple of questions about Jackdmp
On 18 Apr 2011, at 10:39, Stéphane Letz wrote:

>> 
>> With regard to Visual C++ the only major change I needed to implement was to use the threading library 'pthread_win32' as opposed to regular pthread.  
> 
> Hum... jack2 on WIndows does not use "pthread": it directly uses Windows threads (look at JackWinThread.cpp file)
> 
Okay - in that case the pthread change must also have been needed for my Cygwin build for some reason.  Now that I've abandoned Cygwin I might upgrade to Jack2 with a view to building with VC++.  It looks like the version I'm currently using (Jackdmp 1.9) didn't require as many changes as I thought.


> 
>> 
>> #ifndef WIN32
>>           exit(0);
>> #endif
>>       }
>>   }
>> }
>> 
>> I assume that if I removed  #ifndef WIN32  in the above code, my server would magically unload itself when there are no more clients left - but I'm curious to know why the condition was ever there.  Is it still present in the latest code and/or can anyone remember why it's needed?
>> 
>> John
> 
> The whole "temporary" machinery has been redesigned since and works also on Windows.
> 
I implemented that change anyway and it seemed to have the desired effect.  No untoward consequences so far, although I've only tested it for a few minutes.

John
PrevNext  Index

1303136738.24133_0.ltw:2,a <267F9C78-F890-4773-897E-381870D834E6 at tiscali dot co dot uk>