diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-12-13 18:39:27 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-12-13 18:39:27 -0500 |
commit | fa1229f9776c7ecc99baa187e0b485ebdbfdd78c (patch) | |
tree | 91da6c45685c436ddcc299117df0dab03933caf7 /include | |
parent | 8f4bc19471bd49f4dcf6ab20254b7c71ec12e4e2 (diff) |
Allow klmirqd threads to be given names.wip-klmirqd-to-aux
Diffstat (limited to 'include')
-rw-r--r-- | include/litmus/litmus_softirq.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/litmus/litmus_softirq.h b/include/litmus/litmus_softirq.h index 52e3f7e74ab1..cfef08187464 100644 --- a/include/litmus/litmus_softirq.h +++ b/include/litmus/litmus_softirq.h | |||
@@ -57,8 +57,13 @@ typedef struct | |||
57 | data will be initialized. | 57 | data will be initialized. |
58 | 58 | ||
59 | cpu == -1 for no affinity | 59 | cpu == -1 for no affinity |
60 | |||
61 | provide a name at most 31 (32, + null terminator) characters long. | ||
62 | name == NULL for a default name. (all names are appended with | ||
63 | base-CPU affinity) | ||
60 | */ | 64 | */ |
61 | int launch_klmirqd_thread(int cpu, klmirqd_callback_t* cb); | 65 | #define MAX_KLMIRQD_NAME_LEN 31 |
66 | int launch_klmirqd_thread(char* name, int cpu, klmirqd_callback_t* cb); | ||
62 | 67 | ||
63 | 68 | ||
64 | /* Flushes all pending work out to the OS for regular | 69 | /* Flushes all pending work out to the OS for regular |