X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Flib%2Ftosthreads%2Fsystem%2FThreadMapP.nc;h=805260516e696aa4b5231d83e33442c3a2eaf1da;hp=9b4861a9dfc52f2cdfcc9472e93209fa132c9445;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hpb=adf1de6c009d13b7b52e68535c63b28f59c97400 diff --git a/tos/lib/tosthreads/system/ThreadMapP.nc b/tos/lib/tosthreads/system/ThreadMapP.nc index 9b4861a9..80526051 100644 --- a/tos/lib/tosthreads/system/ThreadMapP.nc +++ b/tos/lib/tosthreads/system/ThreadMapP.nc @@ -50,12 +50,21 @@ implementation { async command thread_t* ThreadInfo.get[uint8_t id]() { return call StaticThreadInfo.get[id](); } + async command error_t ThreadInfo.reset[uint8_t id]() { + return call StaticThreadInfo.reset[id](); + } default async command thread_t* StaticThreadInfo.get[uint8_t id]() { return call DynamicThreadInfo.get[id](); } + default async command error_t StaticThreadInfo.reset[uint8_t id]() { + return call DynamicThreadInfo.reset[id](); + } default async command thread_t* DynamicThreadInfo.get[uint8_t id]() { return call StaticThreadInfo.get[id](); } + default async command error_t DynamicThreadInfo.reset[uint8_t id]() { + return call StaticThreadInfo.reset[id](); + } async event void ThreadCleanup.cleanup[uint8_t id]() { signal StaticThreadCleanup.cleanup[id](); }