Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
tarantool
Commits
7842a8c6
Commit
7842a8c6
authored
12 years ago
by
Dmitry E. Oboukhov
Browse files
Options
Downloads
Patches
Plain Diff
__thread variables can be initialized by name
parent
696d61fb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/fiber.m
+2
-1
2 additions, 1 deletion
src/fiber.m
with
2 additions
and
1 deletion
src/fiber.m
+
2
−
1
View file @
7842a8c6
...
...
@@ -57,7 +57,7 @@ static __thread uint32_t last_used_fid;
static
__thread
struct
mh_i32ptr_t
*
fibers_registry
;
__thread
SLIST_HEAD
(,
fiber
)
fibers
,
zombie_fibers
;
static
__thread
RLIST_HEAD
(
ready_fibers
)
;
static
__thread
struct
rlist
ready_fibers
;
static
__thread
ev_async
ready_async
;
static
void
...
...
@@ -471,6 +471,7 @@ void
fiber_init
(
void
)
{
SLIST_INIT
(
&
fibers
);
rlist_init
(
&
ready_fibers
);
fibers_registry
=
mh_i32ptr_init
();
memset
(
&
sched
,
0
,
sizeof
(
sched
));
...
...
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