Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wilkes
flext
Commits
816cd0fa
Commit
816cd0fa
authored
Aug 24, 2002
by
thomas
Browse files
*** empty log message ***
git-svn-id:
https://svn.grrrr.org/ext/trunk@257
4d9ac71a-51e6-0310-8455-cad1006bcd31
parent
da3d04c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/flthr.cpp
View file @
816cd0fa
...
...
@@ -36,8 +36,9 @@ bool flext_base::StartThread(void *(*meth)(thr_params *p),thr_params *p,char *me
#endif
pthread_t
thrid
;
if
(
pthread_create
(
&
thrid
,
NULL
,(
void
*
(
*
)(
void
*
))
meth
,
p
))
{
error
(
"%s - Could not launch method!"
,
methname
);
int
ret
=
pthread_create
(
&
thrid
,
NULL
,(
void
*
(
*
)(
void
*
))
meth
,
p
);
if
(
ret
)
{
error
(
ret
==
EAGAIN
?
"%s - Unsufficient resources to launch thread!"
:
"%s - Could not launch method!"
,
methname
);
delete
p
;
return
false
;
}
...
...
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