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
|
#ignore object files and nonsense like that
|
||||||
*.[oa]
|
*.[oa]
|
||||||
|
*.la
|
||||||
|
*.lo
|
||||||
*~
|
*~
|
||||||
.deps
|
.deps
|
||||||
Makefile
|
Makefile
|
||||||
|
|
4
README
4
README
|
@ -3,3 +3,7 @@ http://wiki.mistserver.com/
|
||||||
|
|
||||||
Code contributions and bug reports are welcomed through:
|
Code contributions and bug reports are welcomed through:
|
||||||
https://github.com/DDVTECH/DMS
|
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.
|
/// Creates a new DTSC::Stream object, private function so only one instance can exist.
|
||||||
Buffer::Stream::Stream(){
|
Buffer::Stream::Stream(){
|
||||||
Strm = new DTSC::Stream(5);
|
Strm = new DTSC::Stream(5);
|
||||||
|
readers = 0;
|
||||||
|
writers = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Do cleanup on delete.
|
/// Do cleanup on delete.
|
||||||
|
|
Loading…
Add table
Reference in a new issue