Shutdown this process
(self, c)
| 361 | return len(self.id_to_refcount) |
| 362 | |
| 363 | def shutdown(self, c): |
| 364 | ''' |
| 365 | Shutdown this process |
| 366 | ''' |
| 367 | try: |
| 368 | util.debug('manager received shutdown message') |
| 369 | c.send(('#RETURN', None)) |
| 370 | except: |
| 371 | import traceback |
| 372 | traceback.print_exc() |
| 373 | finally: |
| 374 | self.stop_event.set() |
| 375 | |
| 376 | def create(self, c, typeid, /, *args, **kwds): |
| 377 | ''' |