Lonami Exo
|
a3ae56ca9e
|
Use a timeout when worker threads are polling
|
2017-09-30 11:21:07 +02:00 |
|
Lonami Exo
|
7cef5885fa
|
Rename process_updates/polling to workers
|
2017-09-30 11:17:31 +02:00 |
|
Lonami Exo
|
72b7e99222
|
Ensure the worker threads have updates once they acquire the lock
|
2017-09-30 10:59:33 +02:00 |
|
Lonami Exo
|
b87a798dd5
|
Spawn new worker threads to handle updates instead using ReadThread
|
2017-09-30 10:27:46 +02:00 |
|
Lonami Exo
|
ee08232473
|
Fix UpdateState.check_error popping the wrong side
|
2017-09-30 10:27:16 +02:00 |
|
Lonami Exo
|
1518be0b95
|
Use .appendleft(x) for deque instead .insert(0, x) (fix #268)
|
2017-09-28 09:30:47 +02:00 |
|
Andrey Egorov
|
73fbfde7ef
|
Process messages without pts
|
2017-09-22 23:14:31 +02:00 |
|
Lonami Exo
|
1d3273a306
|
Fix UpdateState calling handlers with updates with lower pts
|
2017-09-19 13:17:40 +02:00 |
|
Lonami Exo
|
0235fce99c
|
Don't hold ._updates_lock while calling .handlers
|
2017-09-18 11:01:15 +02:00 |
|
Lonami Exo
|
143e046cf5
|
Attempt at passing errors to the main thread through .updates
|
2017-09-18 10:59:54 +02:00 |
|
Lonami Exo
|
bce88446ef
|
Fix incorrect condition causing updates to be ignored
|
2017-09-08 18:43:37 +02:00 |
|
Lonami Exo
|
c81537bed0
|
Simplify the workflow with UpdateState exposing a single flag param
|
2017-09-08 12:54:38 +02:00 |
|
Lonami Exo
|
a24b4020fe
|
Allow adding update handlers without the need to poll updates
|
2017-09-07 20:29:51 +02:00 |
|
Lonami Exo
|
b8e881b6b6
|
Add basic updates processing to ignore updates with lower .pts
|
2017-09-07 20:17:40 +02:00 |
|
Lonami Exo
|
d237375208
|
Allow adding callback methods to UpdateState
|
2017-09-07 18:58:54 +02:00 |
|
Lonami Exo
|
d4f36162cd
|
Create and use UpdateState to .process() unhandled TLObjects
|
2017-09-07 18:49:08 +02:00 |
|