Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
1e4c2e73
Commit
1e4c2e73
authored
Feb 10, 2003
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
really fixed ClientConnectionGone problem
parent
47c481b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
ChangeLog
ChangeLog
+2
-0
rfbserver.c
rfbserver.c
+8
-8
No files found.
ChangeLog
View file @
1e4c2e73
fixed LinuxVNC colour handling
fixed a bug with pthreads where the connection was not closed
moved vncterm to main package (LinuxVNC included)
portability fixes (IRIX, OSX, Solaris)
more portable way to determine endianness and types of a given size
...
...
rfbserver.c
View file @
1e4c2e73
...
...
@@ -408,14 +408,14 @@ rfbClientConnectionGone(cl)
#endif
#ifdef HAVE_LIBPTHREAD
LOCK
(
cl
->
refCountMutex
);
if
(
cl
->
refCount
)
{
UN
LOCK
(
cl
->
refCountMutex
);
if
(
cl
->
screen
->
backgroundLoop
!=
FALSE
)
WAIT
(
cl
->
deleteCond
,
cl
->
refCountMutex
);
}
else
{
UNLOCK
(
cl
->
refCountMutex
);
}
if
(
cl
->
screen
->
backgroundLoop
!=
FALSE
)
do
{
LOCK
(
cl
->
refCountMutex
);
i
=
cl
->
refCount
;
UNLOCK
(
cl
->
refCountMutex
);
if
(
i
>
0
)
WAIT
(
cl
->
deleteCond
,
cl
->
refCountMutex
);
}
while
(
i
>
0
);
#endif
if
(
cl
->
sock
>=
0
)
...
...
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