Fixed initialization issue in Buffer.
This commit is contained in:
parent
a1ac46093d
commit
9d8da4797f
3 changed files with 8 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,5 +1,7 @@
|
|||
#ignore object files and nonsense like that
|
||||
*.[oa]
|
||||
*.la
|
||||
*.lo
|
||||
*~
|
||||
.deps
|
||||
Makefile
|
||||
|
|
4
README
4
README
|
@ -3,3 +3,7 @@ http://wiki.mistserver.com/
|
|||
|
||||
Code contributions and bug reports are welcomed through:
|
||||
https://github.com/DDVTECH/DMS
|
||||
|
||||
The following configure options are possible:
|
||||
--enable-verbose = Compiles all applications in verbose mode, printing a lot more information to the screen than normally.
|
||||
--disable-verbose = The opposite of above (default).
|
||||
|
|
|
@ -21,6 +21,8 @@ Buffer::Stream * Buffer::Stream::get(){
|
|||
/// Creates a new DTSC::Stream object, private function so only one instance can exist.
|
||||
Buffer::Stream::Stream(){
|
||||
Strm = new DTSC::Stream(5);
|
||||
readers = 0;
|
||||
writers = 0;
|
||||
}
|
||||
|
||||
/// Do cleanup on delete.
|
||||
|
|
Loading…
Add table
Reference in a new issue