ttrpc-deadlock

command module
v0.0.0-...-9c056d5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2021 License: MIT Imports: 10 Imported by: 0

README

Run server:

./ttrpc-deadlock.exe -conn-type npipe server

Run client:

./ttrpc-deadlock.exe -conn-type npipe -workers 4 client

Client will repeatedly send requests to the server and print out the worker goroutine index as each one completes. At some point you should see the output stop as the client/server will deadlock.

Increasing the client worker count will make the deadlock happen sooner.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL