2010/1/17 mingcraeer <mingcraeer at 163.com>: > Hi: > when I read the file "pjsua_media.c", I noticed in the function > "create_ice_media_transports", the line numbered 931 and 935, the pair > PJSUA_UNLOCK() and PJSUA_LOCK(). I just wonder are they upside down? I mean > it should firstly appear PJSUA_LOCK() and then PJSUA_UNLOCK().? I might just > have something misunderstanding. But can anyone do the favor point that to > me? A short explanation is welcome. By the way, my pjsip version is 1.4.5. That pair of code are used to temporarily release the lock while doing blocking polls for events. Cheers Benny