Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
2b871bbc
Commit
2b871bbc
authored
14 years ago
by
Per Hedbor
Browse files
Options
Downloads
Patches
Plain Diff
pattr and small_pattr are used in th_create and th_create_small, which can be used in modules.
parent
0ce2f70a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pike_threadlib.h
+2
-2
2 additions, 2 deletions
src/pike_threadlib.h
with
2 additions
and
2 deletions
src/pike_threadlib.h
+
2
−
2
View file @
2b871bbc
...
...
@@ -190,8 +190,8 @@ void th_atfork_child(void);
/* Some pthread libs define yield as non-portable function. */
#define low_th_yield() pthread_yield_np()
#endif
extern
pthread_attr_t
pattr
;
extern
pthread_attr_t
small_pattr
;
PMOD_EPXORT
extern
pthread_attr_t
pattr
;
PMOD_EPXORT
extern
pthread_attr_t
small_pattr
;
#define th_create(ID,fun,arg) pthread_create(ID,&pattr,fun,arg)
#define th_create_small(ID,fun,arg) pthread_create(ID,&small_pattr,fun,arg)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment