Changeset 7debda3 in mainline
- Timestamp:
- 2025-01-22T20:11:06Z (4 months ago)
- Children:
- d30e067
- Parents:
- 9f15da1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/hr/fge.c
r9f15da1 r7debda3 302 302 { 303 303 fibril_mutex_lock(&group->lock); 304 assert(group->submitted == group->wu_cnt);304 assert(group->submitted <= group->wu_cnt); 305 305 306 306 while (true) { 307 307 size_t finished = group->finished_fail + group->finished_okay; 308 if ( group->wu_cnt == finished)308 if (finished == group->submitted) 309 309 break; 310 310 … … 404 404 fibril_mutex_lock(&group->lock); 405 405 size_t finished = group->finished_fail + group->finished_okay; 406 if (finished == group->submitted) 407 fibril_condvar_signal(&group->all_done); 406 408 fibril_mutex_unlock(&group->lock); 407 if (finished == group->wu_cnt)408 fibril_condvar_signal(&group->all_done);409 409 410 410 fibril_mutex_unlock(&pool->lock);
Note:
See TracChangeset
for help on using the changeset viewer.