mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
userland: move some multithreaded examples from cpp-cheat
Using them mostly to evaluate how well the emulators are handling user mode multithreading.
This commit is contained in:
@@ -481,10 +481,13 @@ path_properties_tuples = (
|
||||
{},
|
||||
{
|
||||
'atomic.cpp': {
|
||||
'test_run_args': {'cpus': 2},
|
||||
'test_run_args': {'cpus': 3},
|
||||
# LDADD from LSE
|
||||
'gem5_unimplemented_instruction': True,
|
||||
},
|
||||
'sleep_for.cpp': {
|
||||
'more_than_1s': True,
|
||||
},
|
||||
},
|
||||
),
|
||||
'gcc': (
|
||||
@@ -529,6 +532,13 @@ path_properties_tuples = (
|
||||
'baremetal': True,
|
||||
'signal_received': signal.Signals.SIGHUP,
|
||||
},
|
||||
'pthread_count.c': {
|
||||
'more_than_1s': True,
|
||||
'test_run_args': {'cpus': 2},
|
||||
},
|
||||
'pthread_self.c': {
|
||||
'test_run_args': {'cpus': 2},
|
||||
},
|
||||
'sleep_forever.c': {'more_than_1s': True},
|
||||
'virt_to_phys_test.c': {'more_than_1s': True},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user