Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shrapnel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
shrapnel
Commits
11c1bdc8
Commit
11c1bdc8
authored
Nov 30, 2011
by
Sam Rushing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rst adjustment, hopefully looks like a 'sidebar'
parent
94d236e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
README.rst
README.rst
+6
-6
No files found.
README.rst
View file @
11c1bdc8
...
@@ -44,12 +44,12 @@ stack, and allows the scheduler to run in main and never be
...
@@ -44,12 +44,12 @@ stack, and allows the scheduler to run in main and never be
evacuated. [We may eventually generalize this and use several coro
evacuated. [We may eventually generalize this and use several coro
stacks rather than just one].
stacks rather than just one].
[
The original version of coro used the unix ucontext API, which on
The original version of coro used the unix ucontext API, which on
FreeBSD 4.X was implemented using very similar assembly. However,
FreeBSD 4.X was implemented using very similar assembly. However,
FreeBSD 5.X+ moved the ucontext API into the kernel, making it much
FreeBSD 5.X+ moved the ucontext API into the kernel, making it much
more expensive. Currently, the 'swap' implementation is about 15
more expensive. Currently, the 'swap' implementation is about 15
lines of x86 (or x86_64) assembly. It saves and restores the stack,
lines of x86 (or x86_64) assembly. It saves and restores the stack,
frame, and insn pointers in/out of the coro structure.]
frame, and insn pointers in/out of the coro structure.
Scheduler
Scheduler
=========
=========
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment