Changeset 1402:2efaedb218a6
- Timestamp:
- 11/07/09 22:42:21 (2 years ago)
- Branch:
- default
- Location:
- src
- Files:
-
- 3 edited
-
include/libdodo/pcExecutionManager.inline (modified) (11 diffs)
-
include/libdodo/toolsOs.h (modified) (1 diff)
-
src/toolsOs.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/include/libdodo/pcExecutionManager.inline
r1399 r1402 54 54 template <typename T> 55 55 unsigned long 56 dodo::pc::execution::manager<T 57 >::add(const T &job) 56 dodo::pc::execution::manager<T>::add(const T &job) 58 57 { 59 58 pc::sync::stack tg(keeper); … … 68 67 template <typename T> 69 68 void 70 dodo::pc::execution::manager<T 71 >::remove(unsigned long id, 69 dodo::pc::execution::manager<T>::remove(unsigned long id, 72 70 bool terminate) 73 71 { … … 89 87 template <typename T> 90 88 void 91 dodo::pc::execution::manager<T 92 >::run(unsigned long id) 89 dodo::pc::execution::manager<T>::run(unsigned long id) 93 90 { 94 91 pc::sync::stack tg(keeper); … … 106 103 template <typename T> 107 104 void 108 dodo::pc::execution::manager<T 109 >::stop(unsigned long id) 105 dodo::pc::execution::manager<T>::stop(unsigned long id) 110 106 { 111 107 pc::sync::stack tg(keeper); … … 123 119 template <typename T> 124 120 void 125 dodo::pc::execution::manager<T 126 >::stop() 121 dodo::pc::execution::manager<T>::stop() 127 122 { 128 123 pc::sync::stack tg(keeper); … … 138 133 template <typename T> 139 134 int 140 dodo::pc::execution::manager<T 141 >::wait(unsigned long id) 135 dodo::pc::execution::manager<T>::wait(unsigned long id) 142 136 { 143 137 pc::sync::stack tg(keeper); … … 155 149 template <typename T> 156 150 void 157 dodo::pc::execution::manager<T 158 >::wait() 151 dodo::pc::execution::manager<T>::wait() 159 152 { 160 153 pc::sync::stack tg(keeper); … … 170 163 template <typename T> 171 164 bool 172 dodo::pc::execution::manager<T 173 >::isRunning(unsigned long id) const 165 dodo::pc::execution::manager<T>::isRunning(unsigned long id) const 174 166 { 175 167 pc::sync::stack tg(keeper); … … 187 179 template <typename T> 188 180 unsigned long 189 dodo::pc::execution::manager<T 190 >::running() const 181 dodo::pc::execution::manager<T>::running() const 191 182 { 192 183 pc::sync::stack tg(keeper); … … 207 198 template <typename T> 208 199 dodoList<unsigned long> 209 dodo::pc::execution::manager<T 210 >::jobs() 200 dodo::pc::execution::manager<T>::jobs() 211 201 { 212 202 pc::sync::stack tg(keeper); … … 226 216 template <typename T> 227 217 T * 228 dodo::pc::execution::manager<T 229 >::job(unsigned long id) 218 dodo::pc::execution::manager<T>::job(unsigned long id) 230 219 { 231 220 pc::sync::stack tg(keeper); -
src/include/libdodo/toolsOs.h
r1401 r1402 234 234 */ 235 235 static void daemonize(daemon func, 236 void *data);236 void *data); 237 237 238 238 /** -
src/src/toolsOs.cc
r1401 r1402 1272 1272 void 1273 1273 os::daemonize(daemon func, 1274 void *data)1274 void *data) 1275 1275 { 1276 1276 pid_t pid = fork();
Note: See TracChangeset
for help on using the changeset viewer.
