Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
6115e72c
Commit
6115e72c
authored
Feb 23, 2005
by
Bill Medland
Committed by
Alexandre Julliard
Feb 23, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct a couple of minor documentation typos.
parent
afcab242
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
winedev-kernel.sgml
documentation/winedev-kernel.sgml
+8
-8
No files found.
documentation/winedev-kernel.sgml
View file @
6115e72c
...
...
@@ -238,7 +238,7 @@ if (res != ERROR_SUCCESS) return res;
thread. On recent versions of Linux the __thread keyword
provides a convenient interface to this functionality - a
more portable API is exposed in the pthread
library. However, these facilities
is
not used by Wine,
library. However, these facilities
are
not used by Wine,
rather, we implement Win32 TLS entirely ourselves.
</para>
</sect3>
...
...
@@ -295,13 +295,13 @@ if (res != ERROR_SUCCESS) return res;
<para>
Let's start with a bit of history. Back in the dark ages
when Wines threading support was first implemented a
when Wine
'
s threading support was first implemented a
problem was faced - Windows had much more capable
threading APIs than Linux did. This presented a problem -
Wine works either by reimplementing an API entirely or by
mapping it onto the underlying systems equivalent. How
could Win32 threading be implemented using a library which
did not have all the neeed features? The answer, of
did not have all the nee
d
ed features? The answer, of
course, was that it couldn't be.
</para>
...
...
@@ -338,14 +338,14 @@ if (res != ERROR_SUCCESS) return res;
</para>
<para>
The solution was simple yet ingenius: Wine would provide
The solution was simple yet ingeni
o
us: Wine would provide
its own implementation of the pthread library
<emphasis>inside</emphasis> its own binary. Due to the
semantics of ELF symbol scoping, this would cause Wines
own implementation
s
to override any implementation loaded
semantics of ELF symbol scoping, this would cause Wine
'
s
own implementation to override any implementation loaded
later on (like the real libpthread.so). Therefore, any
calls to the pthread APIs in external libraries would be
linked to Wine
s instead of the system
s pthreads library,
linked to Wine
's instead of the system'
s pthreads library,
and Wine implemented pthreads by using the standard
Windows threading APIs it in turn implemented itself.
</para>
...
...
@@ -366,7 +366,7 @@ if (res != ERROR_SUCCESS) return res;
<para>
The fake pthread implementation can be found in
<filename>loader/kthread.c</filename>, which is used to
produce t
o
wine-kthread binary. In contrast,
produce t
he
wine-kthread binary. In contrast,
loader/pthread.c produces the wine-pthread binary which is
used on newer NPTL systems.
</para>
...
...
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