Changeset 3945813ee2bf2fd6fba00f25b03a0e05006825bc
- Timestamp:
- 22/12/07 16:42:36
(10 months ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1198338156 +0000
- git-parent:
[ecc5eb9db29f4ae9c0ee1c667c51dd7fd0a6b887]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1198338156 +0000
- Message:
Corner case race condition in the waitpipe
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r4f2ae2a |
r3945813 |
|
| 2031 | 2031 | counter_t *p_active_counter = stats_CounterCreate( host, VLC_VAR_INTEGER, STATS_COUNTER ); |
|---|
| 2032 | 2032 | int evfd; |
|---|
| 2033 | | vlc_bool_t b_die = VLC_FALSE; |
|---|
| | 2033 | vlc_bool_t b_die; |
|---|
| 2034 | 2034 | |
|---|
| 2035 | 2035 | vlc_object_lock( host ); |
|---|
| 2036 | 2036 | evfd = vlc_object_waitpipe( host ); |
|---|
| | 2037 | b_die = vlc_object_alive( host ); |
|---|
| 2037 | 2038 | vlc_object_unlock( host ); |
|---|
| 2038 | 2039 | |
|---|