Changeset 7064e71 in mainline for uspace/lib/posix/src/pthread/keys.c
- Timestamp:
- 2025-03-06T14:35:29Z (4 days ago)
- Children:
- 25ee7ec5
- Parents:
- 9a41e6e
- git-author:
- Matěj Volf <git@…> (2025-03-05 23:09:43)
- git-committer:
- Matěj Volf <git@…> (2025-03-06 14:35:29)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/src/pthread/keys.c
r9a41e6e r7064e71 104 104 { 105 105 /* 106 * FIXME: this can cause a data race with another fibrill107 * run ning on_fibril_exit. The obvious solution is to add108 * a rwlock on the destructors array, which will be needed109 * anyway if we want tosupport unlimited number of keys.106 * FIXME: this can cause a data race if another fibrill concurrently 107 * runs on_fibril_exit. The obvious solution is to add a rwlock on 108 * the destructors array, which will be needed anyway if we want to 109 * support unlimited number of keys. 110 110 */ 111 111 destructors[key] = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.