package syncpipe
import "github.com/docker/libcontainer/syncpipe"
Index ¶
- type SyncPipe
- func NewSyncPipeFromFd(parentFd, childFd uintptr) (*SyncPipe, error)
- func (s *SyncPipe) Child() *os.File
- func (s *SyncPipe) Close() error
- func (s *SyncPipe) CloseChild()
- func (s *SyncPipe) Parent() *os.File
- func (s *SyncPipe) ReadFromChild() error
- func (s *SyncPipe) ReadFromParent(v interface{}) error
- func (s *SyncPipe) ReportChildError(err error)
- func (s *SyncPipe) SendToChild(v interface{}) error
Types ¶
type SyncPipe ¶
type SyncPipe struct {
// contains filtered or unexported fields
}
SyncPipe allows communication to and from the child processes to it's parent and allows the two independent processes to syncronize their state.
func NewSyncPipeFromFd ¶
func (*SyncPipe) Child ¶
func (*SyncPipe) Close ¶
func (*SyncPipe) CloseChild ¶
func (s *SyncPipe) CloseChild()
func (*SyncPipe) Parent ¶
func (*SyncPipe) ReadFromChild ¶
func (*SyncPipe) ReadFromParent ¶
func (*SyncPipe) ReportChildError ¶
func (*SyncPipe) SendToChild ¶
Source Files ¶
- Version
- v1.2.0
- Published
- Aug 20, 2014
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 8 minutes ago –
Tools for package owners.