Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
21eb2ca7
Commit
21eb2ca7
authored
Oct 16, 1998
by
Bob Halley
Browse files
more complete fix for typo
parent
1b36197e
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/isc/pthreads/condition.c
View file @
21eb2ca7
...
...
@@ -6,13 +6,11 @@ boolean_t
os_condition_waituntil
(
os_condition_t
*
c
,
os_mutex_t
*
m
,
os_time_t
*
t
,
boolean_t
*
timeout
)
{
int
result
;
struct
timespec
ts
;
ts
.
tv_sec
=
t
->
seconds
;
ts
.
tv_nsec
=
t
->
nanoseconds
;
result
=
pthread_cond_timedwait
(
c
,
m
,
&
ts
);
if
(
result
==
0
)
{
if
(
pthread_cond_timedwait
(
c
,
m
,
&
ts
)
==
0
)
{
*
timeout
=
FALSE
;
return
(
TRUE
);
}
else
if
(
errno
==
ETIMEDOUT
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment