threadsafe port revealed counts
authorAndy Wingo <wingo@pobox.com>
Mon, 7 Nov 2011 19:00:39 +0000 (20:00 +0100)
committerAndy Wingo <wingo@pobox.com>
Mon, 7 Nov 2011 23:54:52 +0000 (00:54 +0100)
commitb262d3065c03cbde552cdfbce5819544f2e2dfea
tree907c673b2968837c688a2ab79c0ff11deda426af
parent285ac79b1ae6c502841bd2d175445ec5c599aa1e
threadsafe port revealed counts

* libguile/ports.h:
* libguile/ports.c (scm_revealed_count, scm_set_port_revealed_x): Make
  threadsafe.
  (scm_adjust_port_revealed_x): New function, to adjust a port's
  revealed count in a threadsafe way.
libguile/ports.c
libguile/ports.h