# PetscViewerASCIIPushSynchronized
Allows calls to `PetscViewerASCIISynchronizedPrintf()` for this viewer 
## Synopsis
```
#include "petscviewer.h" 
PetscErrorCode PetscViewerASCIIPushSynchronized(PetscViewer viewer)
```
Collective


## Input Parameters

- ***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
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/viewer/impls/ascii/filev.c.html#PetscViewerASCIIPushSynchronized">src/sys/classes/viewer/impls/ascii/filev.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/sf/tutorials/ex1.c.html">src/vec/is/sf/tutorials/ex1.c.html</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/tutorials/swarm_ex1.c.html">src/dm/tutorials/swarm_ex1.c.html</A><BR>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
