wingo / fibers

Concurrent ML-like concurrency for Guile
GNU Lesser General Public License v3.0
306 stars 32 forks source link

scheduler: Set a simple custom record printer. #82

Closed cbaines closed 1 year ago

cbaines commented 1 year ago

The default record printer in Guile seems to produce a large (maybe infinite) output for schedulers, so this simple record printer prevents that.

davexunit commented 1 year ago

Something like this would be great! Maybe it would be good to print out a few of the fields, though. The key thing to not print is the remote-peers field, but maybe it would be nice to see a count of remote peers.

emixa-d commented 1 year ago

Implemented davexunit's proposal.

emixa-d commented 1 year ago

If CI succeeds, no negative review and I don't forget, I intend to merge it in a week.