diff options
author | Andy Wingo <wingo@pobox.com> | 2011-02-10 22:28:19 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-02-10 23:16:52 +0100 |
commit | 8269ba5b2c48b49ad3418214b7f2af1d84930b3c (patch) | |
tree | aa730e10255ef9c0d8566ad9d2b9487641591c1a /libguile/deprecated.c | |
parent | fcfbe5f96a0c14730e6978db519741a6a773427c (diff) | |
download | guile-8269ba5b2c48b49ad3418214b7f2af1d84930b3c.tar.gz |
ports.c safely accesses the port weak hash table
* libguile/ports.h (scm_i_remove_port): Remove declaration, as it was
SCM_INTERNAL.
* libguile/ports.c (scm_add_to_port_table): Issue a deprecation
warning if this function is called. Remove needless SCM_API
declaration, it was already declared as such in ports.h. Safely
access the port table.
(scm_i_remove_port): Remove bogus comment about lack of need for
threadsafety. Take the port table mutex.
(scm_close_port): No need to take port table mutex around calling
scm_i_remove_port.
Diffstat (limited to 'libguile/deprecated.c')
0 files changed, 0 insertions, 0 deletions