Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
8b7bf671
Commit
8b7bf671
authored
Apr 16, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(_objc_thread_id): Correct return type from int to _objc_thread_id.
From-SVN: r11821
parent
9dd11dcb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gcc/objc/thr-decosf1.c
+2
-2
No files found.
gcc/objc/thr-decosf1.c
View file @
8b7bf671
...
@@ -164,12 +164,12 @@ objc_thread_exit(void)
...
@@ -164,12 +164,12 @@ objc_thread_exit(void)
* Returns an integer value which uniquely describes a thread. Must not be
* Returns an integer value which uniquely describes a thread. Must not be
* -1 which is reserved as a marker for "no thread".
* -1 which is reserved as a marker for "no thread".
*/
*/
in
t
_objc_thread_
t
objc_thread_id
(
void
)
objc_thread_id
(
void
)
{
{
pthread_t
self
=
pthread_self
();
pthread_t
self
=
pthread_self
();
return
*
(
int
*
)
&
self
;
/* Return thread handle. */
return
(
_objc_thread_t
)
self
;
/* Return thread handle. */
}
}
/********
/********
...
...
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