diff options
author | Christian Cunningham <cc@localhost> | 2022-02-13 17:45:33 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-02-13 17:45:33 -0700 |
commit | 1a5a0e5cd6f82535c80f7a88b2b4dfac222fa2bb (patch) | |
tree | cb2d3161723656116d3d91d234ff65a989f5d22c /include/graphics | |
parent | 1a3e539f46911081170c9b2515331cfed5c00f05 (diff) |
Implement Lock on Drawer
Diffstat (limited to 'include/graphics')
-rw-r--r-- | include/graphics/drawer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/graphics/drawer.h b/include/graphics/drawer.h index 67abca0..b654989 100644 --- a/include/graphics/drawer.h +++ b/include/graphics/drawer.h @@ -1,9 +1,12 @@ #ifndef GRAPHICS_DRAWER_H #define GRAPHICS_DRAWER_H +#include <util/lock.h> + struct Drawer { unsigned int x; unsigned int y; + struct Lock l; }; void write_cchar(struct Drawer* d, char s, unsigned int c); |