Exemplo n.º 1
0
def startSymbolScan(ws):
    utils.timestamp("start scan process")
    if not noMP:
        global scannerProcess
        global scanStarted
        global workspacePath
        if scanq and not scanStarted:
            scanStarted = True
            workspacePath = ws
            scannerProcess = Process(target=symbolScan, args=(scanq, workspacePath))
            scannerProcess.start()
    else:
        global libSyms
        global wsSyms
        global wsLibs
        import symbolscanner

        (libSyms, wsSyms, wsLibs) = symbolscanner.getLibrarySymbols(workspacePath)
Exemplo n.º 2
0
def startSymbolScan(ws):
    utils.timestamp('start scan process')
    if not noMP:
        global scannerProcess
        global scanStarted
        global workspacePath
        if scanq and not scanStarted:
            scanStarted = True
            workspacePath = ws
            scannerProcess = Process(target=symbolScan,
                                     args=(scanq, workspacePath))
            scannerProcess.start()
    else:
        global libSyms
        global wsSyms
        global wsLibs
        import symbolscanner
        (libSyms, wsSyms,
         wsLibs) = symbolscanner.getLibrarySymbols(workspacePath)
Exemplo n.º 3
0
def symbolScan(q, ws):
    import symbolscanner

    q.put(symbolscanner.getLibrarySymbols(ws))
Exemplo n.º 4
0
def symbolScan(q, ws):
    import symbolscanner
    q.put(symbolscanner.getLibrarySymbols(ws))