Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 77506 Details for
Bug 116567
New ebuild for swi-prolog-5.6.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
swi-prolog-5.6.2-threads.patch
swi-prolog-5.6.2-threads.patch (text/plain), 849 bytes, created by
Keri Harris (RETIRED)
on 2006-01-18 22:54:12 UTC
(
hide
)
Description:
swi-prolog-5.6.2-threads.patch
Filename:
MIME Type:
Creator:
Keri Harris (RETIRED)
Created:
2006-01-18 22:54:12 UTC
Size:
849 bytes
patch
obsolete
>--- pl-5.6.2.orig/packages/clib/time.c 2006-01-15 09:16:05.000000000 +1300 >+++ pl-5.6.2/packages/clib/time.c 2006-01-19 19:08:58.000000000 +1300 >@@ -50,6 +50,7 @@ > > #ifdef _REENTRANT > #include <pthread.h> >+#define SHARED_TABLE 1 > #endif > > #ifdef WIN32 >@@ -90,8 +91,6 @@ > > #else /*WIN32*/ > >-#define SHARED_TABLE 1 >- > #include <time.h> > #include <sys/time.h> > >--- pl-5.6.2.orig/src/pl-thread.c 2006-01-14 00:09:41.000000000 +1300 >+++ pl-5.6.2/src/pl-thread.c 2006-01-14 22:07:06.000000000 +1300 >@@ -463,7 +463,8 @@ > LOCK(); > destroy_message_queue(&ld->thread.messages); > GD->statistics.threads_finished++; >- GD->statistics.thread_cputime += ThreadCPUTime(info, CPU_USER); >+ if ( info->pid ) >+ GD->statistics.thread_cputime += ThreadCPUTime(info, CPU_USER); > > info->thread_data = NULL; > ld->thread.info = NULL; /* avoid a loop */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 116567
:
75431
|
75432
|
75433
|
75489
|
75490
|
75491
|
75492
|
75743
|
75772
|
75775
|
75776
|
75823
|
75825
|
76041
|
76042
|
76043
|
76044
|
76045
|
76046
|
76053
|
76054
|
76055
|
76388
|
76816
|
77057
|
77058
|
77106
|
77506
|
77509
|
77625
|
79824
|
79825
|
79826
|
79827
|
79828
|
79829
|
79830
|
79831
|
79832
|
79833
|
79986
|
79987
|
79989
|
80143
|
81743
|
81744
|
81745
|
81746