jrtp4c windows tweaks

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@962 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2006-03-29 19:48:50 +00:00
parent 896c8a1d93
commit 011a5ccf12
3 changed files with 5 additions and 17 deletions

View File

@ -290,18 +290,10 @@
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath=".\src\jmutex.h"
>
</File>
<File
RelativePath=".\src\jrtp4c.h"
>
</File>
<File
RelativePath=".\src\jthread.h"
>
</File>
<File
RelativePath=".\src\rtcpapppacket.h"
>
@ -484,18 +476,10 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=".\src\win32\jmutex.cpp"
>
</File>
<File
RelativePath=".\src\jrtp4c.cpp"
>
</File>
<File
RelativePath=".\src\win32\jthread.cpp"
>
</File>
<File
RelativePath=".\src\rtcpapppacket.cpp"
>

View File

@ -143,8 +143,12 @@ void jrtp4c_destroy(struct jrtp4c **jrtp4c)
jrtp4c_killread(*jrtp4c);
while (((*jrtp4c)->flags & JF_READ) || ((*jrtp4c)->flags & JF_WRITE)) {
#ifdef WIN32
Sleep(1);
#else
usleep(1000);
sched_yield();
#endif
};
(*jrtp4c)->session->BYEDestroy(RTPTime(10,0),0,0);

View File

@ -36,7 +36,7 @@
#define RTP_SUPPORT_IPV4MULTICAST
#define RTP_SUPPORT_THREAD
//#define RTP_SUPPORT_THREAD
#define RTP_SUPPORT_PROBATION