add clock and mqueue interface.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1083 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong@gmail.com
2010-11-21 23:56:16 +00:00
parent d57496b78c
commit 72630eae88
6 changed files with 230 additions and 34 deletions

View File

@@ -53,4 +53,6 @@ rt_inline _pthread_data_t* _pthread_get_data(pthread_t thread)
return (_pthread_data_t*)thread->user_data;
}
#define NSEC_PER_TICK (1000000000UL/RT_TICK_PER_SECOND)
#endif