Rev |
Age |
Author |
Path |
Log message |
Diff |
4482 |
5644 d 14 h |
decky |
/trunk/uspace/lib/libc/ |
I/O subsystem overhaul:
- add more POSIX-like file and stream functions (with real functionality of stdin, stdout, stderr)
- cleanup console access methods (now generic to any console-like device)
- remove unsafe stream functions
- add special open_node(), fd_node(), fd_phone() (file) and fopen_node(), fnode(), fphone() (stream) functions for HelenOS-specific I/O operations |
|
3351 |
5929 d 16 h |
jermar |
/trunk/uspace/lib/libc/generic/io/ |
Cstyle and formatting changes. |
|
3348 |
5929 d 23 h |
jermar |
/trunk/uspace/lib/libc/ |
Add asprintf(). |
|
2670 |
6169 d 12 h |
jermar |
/trunk/uspace/ |
Move the open(), read() and write() provided by streams.c away so that
these functions won't clash with the real open(), read() and write(), which are
soon to be provided by a libvfs library. Applications can now use open_stdin(),
open_stdout(), read_stdin() and write_stdout(). Later, there might be an option
of providing a custom console file system, which will work similarly to how
streams' open(), read() and write() worked. |
|
2479 |
6355 d 20 h |
jermar |
/trunk/ |
New, better-structured, directory layout for uspace. |
|
2230 |
6430 d 18 h |
jermar |
/trunk/uspace/ |
Remove printf() serialization from thread1 test in tester.
The agreement among developers seems to be that:
- there _must_ be a futex to serialize access to printf()
- there _must_ be pseudo thread serialization in printf()
- the best place for this is vprintf(), the one that goes to console |
|
2229 |
6430 d 20 h |
jermar |
/trunk/ |
Revert some of the changes introduced in revision 2209.
I think it is not correct to remove serialization of pseudo threads in printf_core.c.
With thread-level futex serialization, several pseudo threads running in one thread could easily deadlock
the task.
Add a dedicated futex serialization to thread1.c test only. |
|
2209 |
6432 d 16 h |
decky |
/trunk/uspace/ |
use futex instead of pthread serialization
synchronize only output to stdout
cleanup |
|
2071 |
6512 d 13 h |
jermar |
/trunk/ |
(c) versus (C) |
|
1866 |
6647 d 13 h |
jermar |
/trunk/uspace/ |
Indentation and formatting facelift for libc.
Libc headers now have C99 compliant guards. |
|
1787 |
6702 d 15 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1653 |
6736 d 14 h |
cejka |
/uspace/trunk/ |
Doxygen comments. |
|
1623 |
6737 d 13 h |
cejka |
/uspace/trunk/libc/generic/io/ |
Simple doxygen comments for printf functions. |
|
1234 |
6780 d 13 h |
cejka |
/uspace/trunk/libc/ |
Another version of printf function, now with support for sprintf, snprintf and v*printf functions. |
|