X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Ftosthreads%2Fsystem%2FDynamicThreadC.nc;h=462084bacb1e4781a87a029aaad6b4a8e008a268;hb=8f0d681f0336383bb89ca8745aa7ccc52b58803b;hp=d3982af523c9a710edae1b5066b7e6e240ffcb8b;hpb=531873da4258e79801817651376540bc3b11ccc3;p=tinyos-2.x.git diff --git a/tos/lib/tosthreads/system/DynamicThreadC.nc b/tos/lib/tosthreads/system/DynamicThreadC.nc index d3982af5..462084ba 100644 --- a/tos/lib/tosthreads/system/DynamicThreadC.nc +++ b/tos/lib/tosthreads/system/DynamicThreadC.nc @@ -42,7 +42,24 @@ configuration DynamicThreadC { } } implementation { - components ThreadP; - DynamicThread = ThreadP; - ThreadNotification = ThreadP.DynamicThreadNotification; + components DynamicThreadP; + components TinyThreadSchedulerC; + components BitArrayUtilsC; + components ThreadSleepC; + components TosMallocC; + + DynamicThread = DynamicThreadP; + ThreadNotification = DynamicThreadP.ThreadNotification; + + DynamicThreadP.ThreadSleep -> ThreadSleepC; + DynamicThreadP.ThreadScheduler -> TinyThreadSchedulerC; + DynamicThreadP.BitArrayUtils -> BitArrayUtilsC; + DynamicThreadP.Malloc -> TosMallocC; + + components ThreadMapC; + ThreadMapC.DynamicThreadInfo -> DynamicThreadP; + DynamicThreadP.ThreadCleanup -> ThreadMapC.DynamicThreadCleanup; + + components LedsC; + DynamicThreadP.Leds -> LedsC; }