Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
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
Container registry
Model registry
Operate
Environments
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
pikelang
pike
Commits
4aa6b5ce
Commit
4aa6b5ce
authored
16 years ago
by
Martin Stjernholm
Browse files
Options
Downloads
Patches
Plain Diff
Slightly more informational message when the cleanup-on-exit is
aborted due to remaining threads. Rev: src/module.c:1.58
parent
0a2bf64e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/module.c
+4
-2
4 additions, 2 deletions
src/module.c
with
4 additions
and
2 deletions
src/module.c
+
4
−
2
View file @
4aa6b5ce
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
|| This file is part of Pike. For copyright information see COPYRIGHT.
|| This file is part of Pike. For copyright information see COPYRIGHT.
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| for more information.
|| for more information.
|| $Id: module.c,v 1.5
7
2008/08/05 21:
2
3:
4
6 mast Exp $
|| $Id: module.c,v 1.5
8
2008/08/05 21:
4
3:
2
6 mast Exp $
*/
*/
#include
"global.h"
#include
"global.h"
...
@@ -167,7 +167,9 @@ static void exit_builtin_modules(void)
...
@@ -167,7 +167,9 @@ static void exit_builtin_modules(void)
#ifdef PIKE_THREADS
#ifdef PIKE_THREADS
if
(
count_pike_threads
())
if
(
count_pike_threads
())
{
{
fprintf
(
stderr
,
"Byte counting aborted, because all threads have not exited properly.
\n
"
);
fprintf
(
stderr
,
"Cleanup-on-exit aborted "
"because %d thread(s) still are running.
\n
"
,
count_pike_threads
());
exit_with_cleanup
=
0
;
exit_with_cleanup
=
0
;
return
;
return
;
}
}
...
...
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