projects
/
ltt-control.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove facilities from ltt-control
[ltt-control.git]
/
ltt-control
/
lttd
/
lttd.c
diff --git
a/ltt-control/lttd/lttd.c
b/ltt-control/lttd/lttd.c
index 349834297e86e710c3b1d6576e67b40ad15cb192..4764838c82d6c7138c1880d96b0abeac4f8b8e09 100644
(file)
--- a/
ltt-control/lttd/lttd.c
+++ b/
ltt-control/lttd/lttd.c
@@
-813,7
+813,6
@@
close_channel:
return (void*)ret;
}
return (void*)ret;
}
-
int main(int argc, char ** argv)
{
int ret = 0;
int main(int argc, char ** argv)
{
int ret = 0;
@@
-850,9
+849,9
@@
int main(int argc, char ** argv)
sigaction(SIGQUIT, &act, NULL);
sigaction(SIGINT, &act, NULL);
sigaction(SIGQUIT, &act, NULL);
sigaction(SIGINT, &act, NULL);
-
tids = malloc(sizeof(pthread_t) * num_threads);
for(i=0; i<num_threads; i++) {
tids = malloc(sizeof(pthread_t) * num_threads);
for(i=0; i<num_threads; i++) {
+
ret = pthread_create(&tids[i], NULL, thread_main, (void*)i);
if(ret) {
perror("Error creating thread");
ret = pthread_create(&tids[i], NULL, thread_main, (void*)i);
if(ret) {
perror("Error creating thread");
This page took
0.022612 seconds
and
4
git commands to generate.