:orphan:
# PetscViewerASCIIPushSynchronized
Allows calls to `PetscViewerASCIISynchronizedPrintf()` for this viewer
## Synopsis
```
#include "petscviewer.h"
PetscErrorCode PetscViewerASCIIPushSynchronized(PetscViewer viewer)
```
Collective
## Input Parameter
- ***viewer -*** obtained with `PetscViewerASCIIOpen()`
## Note
See documentation of `PetscViewerASCIISynchronizedPrintf()` for more details how the synchronized output should be done properly.
## See Also
[](sec_viewers), `PetscViewerASCIISynchronizedPrintf()`, `PetscViewerFlush()`, `PetscViewerASCIIPopSynchronized()`,
`PetscSynchronizedPrintf()`, `PetscViewerASCIIPrintf()`, `PetscViewerASCIIOpen()`,
`PetscViewerCreate()`, `PetscViewerDestroy()`, `PetscViewerSetType()`
## Level
intermediate
## Location
src/sys/classes/viewer/impls/ascii/filev.c
## Examples
src/dm/tutorials/swarm_ex1.c
src/vec/is/sf/tutorials/ex1.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/viewer/impls/ascii/filev.c)
[Index of all Viewer routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)