diff options
| author | Shell <[email protected]> | 2024-05-08 09:25:57 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-05-08 09:25:57 +0800 |
| commit | 48bd0e49f2687708e0aca2f3791ccc295920c80a (patch) | |
| tree | 0136f4ea386c9b837ec07b436356bea30a00e0f2 /components/drivers/ipc/SConscript | |
| parent | 9ba6cec663428bad57204e2e3373b48c70efe61f (diff) | |
[ipc] support of lockless rt_completion (#8887)
* [ipc] lockless rt_completion implementation
The new rt_completion implemented by lockless algorithm can improve timer resolution for up to ~12%, compare to sem IPC.
Signed-off-by: Shell <[email protected]>
* fixup: error
* remove useless changes
---------
Signed-off-by: Shell <[email protected]>
Diffstat (limited to 'components/drivers/ipc/SConscript')
| -rw-r--r-- | components/drivers/ipc/SConscript | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/drivers/ipc/SConscript b/components/drivers/ipc/SConscript index ba14b4bb0f..d8a18939f3 100644 --- a/components/drivers/ipc/SConscript +++ b/components/drivers/ipc/SConscript @@ -8,6 +8,11 @@ if not GetDepend('RT_USING_HEAP'): SrcRemove(src, 'dataqueue.c') SrcRemove(src, 'pipe.c') +if not GetDepend('RT_USING_SMP'): + SrcRemove(src, 'completion_mp.c') +else: + SrcRemove(src, 'completion_up.c') + group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_DEVICE_IPC'], CPPPATH = CPPPATH, LOCAL_CPPDEFINES=['__RT_IPC_SOURCE__']) Return('group') |
