Skip to content

Commit

Permalink
Document refcount field better
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierleroy committed Jan 21, 2021
1 parent 20e597d commit 85d1fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/caml/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ struct channel {
char * max; /* Logical end of the buffer (for input) */
void * mutex; /* Placeholder for mutex (for systhreads) */
struct channel * next, * prev;/* Double chaining of channels (flush_all) */
int refcount; /* For flush_all */
int refcount; /* Number of custom blocks owning the channel */
int flags; /* Bitfield */
char buff[IO_BUFFER_SIZE]; /* The buffer itself */
char * name; /* Optional name (to report fd leaks) */
Expand Down

0 comments on commit 85d1fde

Please sign in to comment.