Subversion Repositories HelenOS

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
2782 5904 d 22 h jermar /tags/0.3.0/ Tagging HelenOS 0.3.0.  
2570 6071 d 3 h jermar /trunk/uspace/lib/libc/generic/io/ Fix a bug in interpretation of precision when printing strings. Fix cstyle.  
2479 6174 d 5 h jermar /trunk/ New, better-structured, directory layout for uspace.  
2230 6249 d 2 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 6249 d 4 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 6251 d 0 h decky /trunk/uspace/ use futex instead of pthread serialization
synchronize only output to stdout
cleanup
 
2071 6330 d 22 h jermar /trunk/ (c) versus (C)  
2070 6331 d 5 h jermar /trunk/ Rather big indentation and formatting changes.
More inteligent long line wrapping.
 
1866 6465 d 22 h jermar /trunk/uspace/ Indentation and formatting facelift for libc.
Libc headers now have C99 compliant guards.
 
1787 6521 d 0 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1653 6554 d 23 h cejka /uspace/trunk/ Doxygen comments.  
1617 6556 d 2 h cejka /uspace/trunk/libc/generic/io/ Printf return value fix ported from kernel to uspace.  
1616 6556 d 2 h palkovsky /uspace/trunk/ Fixed console disconnect.
Added serialization to printf.
 
1444 6564 d 5 h cejka /uspace/trunk/libc/generic/io/ Fixed wrong doxygen formating.  
1272 6591 d 6 h cejka /uspace/trunk/libc/generic/io/ Comments update.  
1234 6598 d 21 h cejka /uspace/trunk/libc/ Another version of printf function, now with support for sprintf, snprintf and v*printf functions.  
1199 6606 d 4 h cejka /uspace/trunk/libc/generic/io/ Update comments in printf.  
1197 6607 d 5 h cejka /uspace/trunk/ Bugfix in printf, some support for testing.  
1173 6611 d 8 h cejka /uspace/trunk/libc/ Printf support for width and precision modifiers.
Several necessary helping functions added.
 
1073 6637 d 6 h cejka /uspace/trunk/ Userspace printf was rewritten to support standard format. Not all needed features implemented yet.  

Show All