ports/net-im/libjingle/files/patch-talk__base__criticalsection.h
Mario Sergio Fujikawa Ferreira 0de60d2b24 o New port libjingle version 0.2.1: Google Talk's implementation
of Jingle and Jingle-Audio
o It only provides:
  1) STUN server which implements the STUN protocol for Simple
     Traversal of UDP over NAT.
  2) Relay server that may be used to relay traffic when a direct
     peer-to-peer connection could not be established.
o The port itself does not install any libraries. It only uses them
  for these 2 sample servers.
2006-02-23 02:07:52 +00:00

10 lines
390 B
C++

--- talk/base/criticalsection.h.orig Wed Feb 22 18:57:24 2006
+++ talk/base/criticalsection.h Wed Feb 22 18:54:37 2006
@@ -83,6 +83,7 @@
public:
CriticalSection() {
pthread_mutexattr_t mutex_attribute;
+ pthread_mutexattr_init(&mutex_attribute);
pthread_mutexattr_settype(&mutex_attribute, PTHREAD_MUTEX_RECURSIVE);
pthread_mutex_init(&mutex_, &mutex_attribute);
}