Changeset 102f641 in mainline for uspace/srv/sysman/repo.c
- Timestamp:
- 2019-09-02T19:01:50Z (5 years ago)
- Children:
- 25697163
- Parents:
- 241f1985
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/sysman/repo.c
r241f1985 r102f641 107 107 } 108 108 109 110 109 static hash_table_ops_t units_by_name_ht_ops = { 111 110 .hash = &units_by_name_ht_hash, … … 133 132 { 134 133 sysman_log(LVL_DEBUG2, "%s(%s, %i)", __func__, name, lock); 135 if (lock) fibril_rwlock_read_lock(&repo_lock); 134 if (lock) 135 fibril_rwlock_read_lock(&repo_lock); 136 136 ht_link_t *ht_link = hash_table_find(&units_by_name, (void *)name); 137 if (lock) fibril_rwlock_read_unlock(&repo_lock); 137 if (lock) 138 fibril_rwlock_read_unlock(&repo_lock); 138 139 139 140 if (ht_link != NULL) { … … 177 178 } 178 179 179 void repo_begin_update(void) { 180 void repo_begin_update(void) 181 { 180 182 sysman_log(LVL_DEBUG2, "%s", __func__); 181 183 fibril_rwlock_write_lock(&repo_lock);
Note:
See TracChangeset
for help on using the changeset viewer.