This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
rtpengine
mirror of
https://github.com/sipwise/rtpengine
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
822
Wiki
Activity
Browse Source
MT#55283 remove pointless lock
Leftover from a commit long time ago Change-Id: I72501688c92ba37699c32f56e84be89ebc7d5f61
pull/1701/head
Richard Fuchs
2 years ago
parent
82b2829162
commit
3b53910fc3
1 changed files
with
1 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-3
lib/poller.c
+ 1
- 3
lib/poller.c
View File
@ -279,13 +279,11 @@ int poller_poll(struct poller *p, int timeout) {
if
(
!
p
)
return
-
1
;
mutex_lock
(
&
p
-
>
lock
)
;
mutex_unlock
(
&
p
-
>
lock
)
;
errno
=
0
;
thread_cancel_enable
(
)
;
ret
=
epoll_wait
(
p
-
>
fd
,
evs
,
sizeof
(
evs
)
/
sizeof
(
*
evs
)
,
timeout
)
;
thread_cancel_disable
(
)
;
mutex_lock
(
&
p
-
>
lock
)
;
if
(
errno
=
=
EINTR
)
Write
Preview
Loading…
Cancel
Save