# PetscStackSAWsTakeAccess
Takes access of the PETSc stack frames from the SAWs publisher 
## Synopsis
```
#include "petscsys.h"   
void PetscStackSAWsTakeAccess(void)
```
Collective on `PETSC_COMM_WORLD`?




## Developers Note
Cannot use `PetscFunctionBegin`/`PetscFunctionReturn()` or `PetscCallSAWs()` since it may be used within those routines


## See Also
 `PetscObjectSetName()`, `PetscObjectSAWsViewOff()`, `PetscObjectSAWsTakeAccess()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/error/pstack.c.html#PetscStackSAWsTakeAccess">src/sys/error/pstack.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/error/pstack.c)


[Index of all Sys routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
