diff options
author | Micael Karlberg <[email protected]> | 2018-12-07 18:40:24 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2018-12-07 18:43:00 +0100 |
commit | d0c3f79d22b4778f66ac1d8a2fc03e736f42e973 (patch) | |
tree | fee37591fb85039583e58858ade959d0de360142 /erts/emulator/pcre | |
parent | c5378517cccf29d1708c71a0949664605743b478 (diff) | |
download | otp-d0c3f79d22b4778f66ac1d8a2fc03e736f42e973.tar.gz otp-d0c3f79d22b4778f66ac1d8a2fc03e736f42e973.tar.bz2 otp-d0c3f79d22b4778f66ac1d8a2fc03e736f42e973.zip |
[socket-nif|test] ttest improvements
Added a ttest lib module for some common functions.
Added a process (server handler and reader processes) stats
printouts. So far only used by the server.
There is still a "leak". Its a term leak. Some of the
functions take a ref as argument (recv, send and accept for
instance). This is stored internally, by way of a call to
the enif_make_copy, in order to be used later in a select
call. Its not "released" though, until the environment is
released, which happens when the socket dtor callback function
is called.
Possible solution: We need to keep "temporary" environments (one
for each of the queues), which we can clear (basically we need two,
one that is currently used for new ref's and one for the old ref's).
OTP-14831
Diffstat (limited to 'erts/emulator/pcre')
0 files changed, 0 insertions, 0 deletions