Searched refs:lock (Results 1 – 8 of 8) sorted by relevance
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/ |
| H A D | queue_main.py | 94 def __init__(self, verbose: bool, print_prefix: str, lock: ParallelPool.LockType) -> None: 108 self._lock = lock 146 lock: ParallelPool.LockType 174 pl.sync_print = LockPrinter(verbose, print_prefix, lock) # type: ignore[assignment]
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/ |
| H A D | _pool.py | 218 lock: LockType 236 lock = mp.Lock() 237 self.lock = lock 243 with lock: 343 self.input_queue, self.lock
|
| /petsc/src/sys/logging/handler/impls/default/ |
| H A D | logdefault.c | 257 PetscSpinlock lock; member 281 PetscCall(PetscSpinlockCreate(&def->lock)); in PetscLogHandlerContextCreate_Default() 298 PetscCall(PetscSpinlockDestroy(&def->lock)); in PetscLogHandlerDestroy_Default() 391 PetscCall(PetscSpinlockLock(&def->lock)); in PetscLogHandlerObjectCreate_Default() 435 PetscCall(PetscSpinlockUnlock(&def->lock)); in PetscLogHandlerObjectCreate_Default() 450 PetscCall(PetscSpinlockLock(&def->lock)); in PetscLogHandlerObjectDestroy_Default() 488 PetscCall(PetscSpinlockUnlock(&def->lock)); in PetscLogHandlerObjectDestroy_Default() 529 PetscCall(PetscSpinlockLock(&def->lock)); in PetscLogGetStageEventPerfInfo_threaded() 536 PetscCall(PetscSpinlockUnlock(&def->lock)); in PetscLogGetStageEventPerfInfo_threaded() 668 PetscCall(PetscSpinlockLock(&def->lock)); in PetscLogHandlerEventEnd_Default() [all …]
|
| /petsc/src/vec/vec/interface/ |
| H A D | rvector.c | 3753 *state = x->lock; in VecLockGet() 3802 …PetscCheck(x->lock++ >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Vector is already locked fo… in VecLockReadPush() 3841 …PetscCheck(--x->lock >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Vector has been unlocked fr… in VecLockReadPop() 3889 …PetscCheck(x->lock <= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Vector is already locked for … in VecLockWriteSet() 3890 …PetscCheck(x->lock >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Vector is already locked for … in VecLockWriteSet() 3891 x->lock = -1; in VecLockWriteSet() 3893 …PetscCheck(x->lock == -1, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Vector is not locked for exc… in VecLockWriteSet() 3894 x->lock = 0; in VecLockWriteSet()
|
| /petsc/src/sys/objects/device/interface/ |
| H A D | mark_dcontext.cxx | 459 if (const auto udctx = upstrm.second.weak_dctx().lock()) { in PetscDeviceContextSyncClearMap_Internal()
|
| /petsc/include/petsc/private/ |
| H A D | vecimpl.h | 161 …PetscInt lock; /* lock state. vector can be free (=0), locked for read (>0) or locked … member
|
| /petsc/doc/manual/ |
| H A D | getting_started.md | 638 many "iterations" of the loop index run on different hardware in "lock-step".
|
| /petsc/doc/ |
| H A D | petsc.bib | 13823 title = {{B}lock{S}olve v1.1: Scalable Library Software for the Parallel Solution of
|