Changeset ecb072d in mainline
- Timestamp:
- 2018-07-05T21:41:20Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 392b0ab3
- Parents:
- 5e5498e
- git-author:
- Dzejrou <dzejrou@…> (2018-03-03 02:56:48)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:20)
- Location:
- uspace/lib/cpp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/impl/mutex.hpp
r5e5498e recb072d 36 36 { 37 37 extern "C" { 38 #include <fibril.h>39 #include <fibril_synch.h>38 #include <fibril.h> 39 #include <fibril_synch.h> 40 40 } 41 41 … … 57 57 void unlock(); 58 58 59 using native_handle_type = fibril_mutex_t ;59 using native_handle_type = fibril_mutex_t*; 60 60 native_handle_type native_handle(); 61 61 … … 81 81 void unlock(); 82 82 83 using native_handle_type = fibril_mutex_t ;83 using native_handle_type = fibril_mutex_t*; 84 84 native_handle_type native_handle(); 85 85 -
uspace/lib/cpp/src/mutex.cpp
r5e5498e recb072d 68 68 mutex::native_handle_type mutex::native_handle() 69 69 { 70 return mtx_;70 return &mtx_; 71 71 } 72 72 … … 121 121 recursive_mutex::native_handle_type recursive_mutex::native_handle() 122 122 { 123 return mtx_;123 return &mtx_; 124 124 } 125 125 }
Note:
See TracChangeset
for help on using the changeset viewer.