Changeset 3945813ee2bf2fd6fba00f25b03a0e05006825bc

Show
Ignore:
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
  • src/network/httpd.c

    r4f2ae2a r3945813  
    20312031    counter_t *p_active_counter = stats_CounterCreate( host, VLC_VAR_INTEGER, STATS_COUNTER ); 
    20322032    int evfd; 
    2033     vlc_bool_t b_die = VLC_FALSE
     2033    vlc_bool_t b_die
    20342034 
    20352035    vlc_object_lock( host ); 
    20362036    evfd = vlc_object_waitpipe( host ); 
     2037    b_die = vlc_object_alive( host ); 
    20372038    vlc_object_unlock( host ); 
    20382039