File/test/channel_buffer.php

Description
Constants
CB_CUR_LINE_IDX = 1 (line 19)
CB_LINE_MEMORY = 1024 (line 21)
CB_LINE_OFFSET = 2 (line 20)
CB_MAX_LINE_IDX = (line 18)

channel line buffer using shared memory a channel line buffer implementation using shared memory instead of a mysql table used by all apache php daemons shared memory is only available on Unix systems so this won't work on Windows.

channel line buffer using shared memory a channel line buffer implementation using shared memory instead of a mysql table used by all apache php daemons shared memory is only available on Unix systems so this won't work on Windows.

  • todo: catch empty channel name, refactor to OO implementation
  • author: frerk frerk@meychern.de
Functions
init_channel_buffer (line 42)
void init_channel_buffer (mixed $channel, mixed $max_line)
lock_channel_buffer (line 25)
void lock_channel_buffer (mixed $channel_id)
read_channel_buffer_line (line 59)
void read_channel_buffer_line (mixed $channel)
read_channel_buffer_since (line 76)
void read_channel_buffer_since (mixed $channel, mixed $since_line)
remove_channel_buffer (line 119)
void remove_channel_buffer (mixed $channel)
remove_channel_buffer_lock (line 37)
void remove_channel_buffer_lock (mixed $sem_id)
test_buffer (line 130)
void test_buffer (mixed $channel)
unlock_channel_buffer (line 33)
void unlock_channel_buffer (mixed $sem_id)
write_channel_buffer (line 99)
void write_channel_buffer (mixed $channel, mixed $line)

Documentation generated on Tue, 29 Jun 2004 14:41:46 +0200 by phpDocumentor 1.3.0RC3