Did I find the right examples for you? yes no

All Samples(108)  |  Call(54)  |  Derive(0)  |  Import(54)
Returns true if the process is shutting down

        def is_exiting():
    '''
    Returns true if the process is shutting down
    '''
    return _exiting or _exiting is None
        


src/a/n/antisocial-HEAD/ve/lib/python2.7/site-packages/billiard/queues.py   antisocial(Download)
    def _feed(buffer, notempty, send, writelock, close, ignore_epipe):
        debug('starting thread to feed data to pipe')
        from .util import is_exiting
 
        ncond = notempty
            # started to cleanup.
            try:
                if is_exiting():
                    info('error in queue thread: %r', exc, exc_info=True)
                else:

src/a/n/antisocial-HEAD/ve/lib/python2.7/site-packages/billiard/reduction.py   antisocial(Download)
def _serve():
    from .util import is_exiting, sub_warning
 
    while 1:
        try:
            conn.close()
        except:
            if not is_exiting():
                sub_warning('thread for sharing handles raised exception',
                            exc_info=True)

src/f/i/firefox-flicks-HEAD/vendor-local/lib/python/billiard/queues.py   firefox-flicks(Download)
    def _feed(buffer, notempty, send, writelock, close, ignore_epipe):
        debug('starting thread to feed data to pipe')
        from .util import is_exiting
 
        ncond = notempty
            # started to cleanup.
            try:
                if is_exiting():
                    info('error in queue thread: %r', e, exc_info=True)
                else:

src/f/i/firefox-flicks-HEAD/vendor-local/lib/python/billiard/reduction.py   firefox-flicks(Download)
def _serve():
    from .util import is_exiting, sub_warning
 
    while 1:
        try:
            conn.close()
        except:
            if not is_exiting():
                sub_warning('thread for sharing handles raised exception',
                            exc_info=True)

src/b/i/billiard-3.3.0.17/billiard/queues.py   billiard(Download)
    def _feed(buffer, notempty, send, writelock, close, ignore_epipe):
        debug('starting thread to feed data to pipe')
        from .util import is_exiting
 
        ncond = notempty
            # started to cleanup.
            try:
                if is_exiting():
                    info('error in queue thread: %r', exc, exc_info=True)
                else:

src/b/i/billiard-HEAD/billiard/queues.py   billiard(Download)
    def _feed(buffer, notempty, send, writelock, close, ignore_epipe):
        debug('starting thread to feed data to pipe')
        from .util import is_exiting
 
        ncond = notempty
            # started to cleanup.
            try:
                if is_exiting():
                    info('error in queue thread: %r', exc, exc_info=True)
                else:

src/b/i/billiard-3.3.0.17/billiard/py2/reduction.py   billiard(Download)
def _serve():
    from ..util import is_exiting, sub_warning
 
    while 1:
        try:
            conn.close()
        except:
            if not is_exiting():
                sub_warning('thread for sharing handles raised exception',
                            exc_info=True)

src/b/i/billiard-HEAD/billiard/py2/reduction.py   billiard(Download)
def _serve():
    from ..util import is_exiting, sub_warning
 
    while 1:
        try:
            conn.close()
        except:
            if not is_exiting():
                sub_warning('thread for sharing handles raised exception',
                            exc_info=True)

src/s/t/static-python-HEAD/Lib/multiprocessing/queues.py   static-python(Download)
from . import synchronize
 
from .util import debug, info, Finalize, register_after_fork, is_exiting
from .reduction import ForkingPickler
 
            # started to cleanup.
            try:
                if is_exiting():
                    info('error in queue thread: %s', e)
                else:

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/multiprocessing/reduction.py   main(Download)
def _serve():
    from .util import is_exiting, sub_warning
 
    while 1:
        try:
            conn.close()
        except:
            if not is_exiting():
                import traceback
                sub_warning(

  1 | 2 | 3 | 4 | 5 | 6  Next