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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址