diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-09-21 22:23:47 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-09-21 22:23:47 (GMT) |
commit | 76fb13178cf6be94b8e01675b37f7cb1b92f7709 (patch) | |
tree | a6e6bbc6dde169add608097ceb5658fcb904bd08 /src/glibext/buffercache-int.h | |
parent | dfe76faf21e254c02c86a1b0b1f8ca8fc07fe027 (diff) |
Defined lock mechanism for buffer caches.
Diffstat (limited to 'src/glibext/buffercache-int.h')
-rw-r--r-- | src/glibext/buffercache-int.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/glibext/buffercache-int.h b/src/glibext/buffercache-int.h index 2ffa8ec..36e4369 100644 --- a/src/glibext/buffercache-int.h +++ b/src/glibext/buffercache-int.h @@ -68,11 +68,12 @@ struct _GBufferCache GBinContent *content; /* Contenu binaire global */ + GWidthTracker *tracker; /* Suivi des largeurs */ + cache_info *lines; /* Liste des lignes intégrées */ size_t count; /* Quantité en cache */ size_t used; /* Quantité utilisée */ - - GWidthTracker *tracker; /* Suivi des largeurs */ + GRWLock access; /* Verrou de protection */ }; |