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