jrtp4c windows tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@962 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
896c8a1d93
commit
011a5ccf12
|
@ -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"
|
||||
>
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
#define RTP_SUPPORT_IPV4MULTICAST
|
||||
|
||||
#define RTP_SUPPORT_THREAD
|
||||
//#define RTP_SUPPORT_THREAD
|
||||
|
||||
#define RTP_SUPPORT_PROBATION
|
||||
|
||||
|
|
Loading…
Reference in New Issue