0

There is a class here in the Bitcoin core called TokenPipe. I've tried to figure out what is does but couldn't find anything useful. The comment says:

An interprocess or interthread pipe for sending tokens (one-byte values) over.

But don't understand it. What are tokens?

1 Answer 1

1

As the comment says: 1-byte values.

It's an abstraction for sending byte values from one process to another process, for inter-process communication.

What those bytes are or what they represent is up to the code using this class.

The point is that users of the class don't need to know how that communication happens, and, in fact, may differ from one platform/operating system to another.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.