diff options
| author | Manolo Gouy <Manolo> | 2016-04-10 20:38:04 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-10 20:38:04 +0000 |
| commit | 6879d54fc494dd07c214c8582806304e6b09e80f (patch) | |
| tree | 984836e446f9d7d7f5618f2761bfef75bb88722a /FL | |
| parent | 95fa60b71dceadffd65f8f135a89efb05a8d6fd7 (diff) | |
Rewrite Fl_lock.cxx under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11578 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_System_Driver.H | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H index 0bcc7973b..5441d8185 100644 --- a/FL/Fl_System_Driver.H +++ b/FL/Fl_System_Driver.H @@ -152,6 +152,11 @@ public: virtual void png_extra_rgba_processing(unsigned char *array, int w, int h) {} // the default implementation is most probably enough virtual const char *next_dir_sep(const char *start) { return strchr(start, '/');} + // implement to support threading + virtual void awake(void*) {} + virtual int lock() {return 1;} + virtual void unlock() {} + virtual void* thread_message() {return NULL;} }; #endif // FL_SYSTEM_DRIVER_H |
