Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tammo Jan Dijkema
telescope
Commits
95297f85
Unverified
Commit
95297f85
authored
Jul 05, 2021
by
Tammo Jan Dijkema
Browse files
Make status thread daemon
parent
41cf9dc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
telescope.py
View file @
95297f85
...
@@ -103,6 +103,7 @@ class Telescope:
...
@@ -103,6 +103,7 @@ class Telescope:
self
.
_event_status
=
threading
.
Event
()
self
.
_event_status
=
threading
.
Event
()
thread_read_status
=
threading
.
Thread
(
target
=
self
.
_readstatus
,
args
=
(
thread_read_status
=
threading
.
Thread
(
target
=
self
.
_readstatus
,
args
=
(
consoleHost
,
config
.
getint
(
'Console'
,
'Port_Read_Status'
)))
consoleHost
,
config
.
getint
(
'Console'
,
'Port_Read_Status'
)))
thread_read_status
.
daemon
=
True
thread_read_status
.
start
()
thread_read_status
.
start
()
def
_readj2000
(
self
,
consoleHost
,
j2000_read_port
):
def
_readj2000
(
self
,
consoleHost
,
j2000_read_port
):
...
...
Write
Preview
Supports
Markdown
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