projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ac3510
)
Improve prototype casting for thread calls.
author
Bruce Momjian
Fri, 5 Sep 2003 01:53:41 +0000
(
01:53
+0000)
committer
Bruce Momjian
Fri, 5 Sep 2003 01:53:41 +0000
(
01:53
+0000)
src/interfaces/ecpg/test/test_thread.pgc
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/ecpg/test/test_thread.pgc
b/src/interfaces/ecpg/test/test_thread.pgc
index 8d9eac2926a12c6ece6f8c0de80cdaf1c39dc5d0..44769f681256a67153d39154f1e4ebab4027df10 100644
(file)
--- a/
src/interfaces/ecpg/test/test_thread.pgc
+++ b/
src/interfaces/ecpg/test/test_thread.pgc
@@
-48,8
+48,8
@@
EXEC SQL END DECLARE SECTION;
EXEC SQL AT test0 COMMIT WORK;
EXEC SQL DISCONNECT test0;
- pthread_create(&thread1, NULL, (void *) ins1, NULL);
- pthread_create(&thread2, NULL, (void *) ins2, NULL);
+ pthread_create(&thread1, NULL, (void *
(*)(void *)
) ins1, NULL);
+ pthread_create(&thread2, NULL, (void *
(*)(void *)
) ins2, NULL);
pthread_join(thread1, NULL);
pthread_join(thread2, NULL);