HelenOS
HelenOS-doc
HelenOS-historic
Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
Subversion Repositories
HelenOS
(root)
/
branches
/
dd
/
uspace
/
app
/
tester
/
thread
/
thread1.c
@ 3758
– Rev 4688
Rev
Hide changed files
|
Details
|
Compare with Previous
|
Blame
|
RSS feed
Filtering Options
From rev
To rev
Max revs
Search history for
Show All
Rev
Age
Author
Path
Log message
Diff
Changes
4688
5492 d 6 h
trochtova
/branches/dd/
dd branch synchronized with trunk (revision 4687)
/branches/dd/kernel/arch/ia32/src/drivers/vesa.c
/branches/dd/kernel/arch/ppc32/src/ppc32.c
/branches/dd/kernel/arch/sparc64/src/drivers/scr.c
/branches/dd/kernel/genarch/include/fb/visuals.h
/branches/dd/kernel/genarch/src/fb/fb.c
/branches/dd/kernel/generic/include/string.h
/branches/dd/kernel/generic/src/lib/string.c
/branches/dd/uspace/app/bdsh/cmds/modules/cp/cp.c
/branches/dd/uspace/app/bdsh/cmds/modules/ls/ls.c
/branches/dd/uspace/app/bdsh/cmds/modules/ls/ls.h
/branches/dd/uspace/app/bdsh/cmds/modules/rm/rm.c
/branches/dd/uspace/app/init/init.c
/branches/dd/uspace/app/tester/thread/thread1.c
/branches/dd/uspace/app/tetris/shapes.c
/branches/dd/uspace/app/tetris/tetris.c
/branches/dd/uspace/app/trace/proto.c
/branches/dd/uspace/app/trace/trace.c
/branches/dd/uspace/lib/libc/generic/string.c
/branches/dd/uspace/lib/libc/generic/vfs/vfs.c
/branches/dd/uspace/lib/libc/include/string.h
/branches/dd/uspace/srv/console/console.c
/branches/dd/uspace/srv/devmap/devmap.c
/branches/dd/uspace/srv/fb/fb.c
/branches/dd/uspace/srv/fs/fat/fat_ops.c
/branches/dd/uspace/srv/vfs/vfs_ops.c
/branches/dd/version
4668
5502 d 22 h
trochtova
/branches/dd/
dd branch synchronized with trunk (revision 4667)
/branches/dd/contrib/conf/ia32-qe.sh
/branches/dd/kernel/genarch/include/kbrd/scanc_mac.h
/branches/dd/kernel/genarch/src/kbrd/scanc_mac.c
/branches/dd/uspace/app/tester/mm
/branches/dd/uspace/app/tester/print/print2.c
/branches/dd/uspace/app/tester/print/print2.def
/branches/dd/uspace/app/tester/print/print3.c
/branches/dd/uspace/app/tester/print/print3.def
/branches/dd/uspace/dist/data
/branches/dd/uspace/lib/libc/generic/errno.c
/branches/dd/uspace/lib/libc/generic/malloc.c
/branches/dd/uspace/lib/libc/include/adt/gcdlcm.h
/branches/dd/kernel/arch/amd64/include/byteorder.h
/branches/dd/kernel/arch/arm32/include/byteorder.h
/branches/dd/kernel/arch/ia32/include/byteorder.h
/branches/dd/kernel/arch/ia64/include/byteorder.h
/branches/dd/kernel/arch/mips32/include/byteorder.h
/branches/dd/kernel/arch/ppc32/include/byteorder.h
/branches/dd/kernel/arch/sparc64/include/byteorder.h
/branches/dd/uspace/app/tester/devmap
/branches/dd/uspace/app/tester/ipc/answer.c
/branches/dd/uspace/app/tester/ipc/answer.def
/branches/dd/uspace/app/tester/ipc/hangup.c
/branches/dd/uspace/app/tester/ipc/hangup.def
/branches/dd/uspace/app/tester/ipc/send_async.c
/branches/dd/uspace/app/tester/ipc/send_async.def
/branches/dd/uspace/app/tester/ipc/send_sync.c
/branches/dd/uspace/app/tester/ipc/send_sync.def
/branches/dd/uspace/lib/libc/arch/amd64/include/byteorder.h
/branches/dd/uspace/lib/libc/arch/arm32/include/byteorder.h
/branches/dd/uspace/lib/libc/arch/ia32/include/byteorder.h
/branches/dd/uspace/lib/libc/arch/ia64/include/byteorder.h
/branches/dd/uspace/lib/libc/arch/mips32/include/byteorder.h
/branches/dd/uspace/lib/libc/arch/mips32eb/include/byteorder.h
/branches/dd/uspace/lib/libc/arch/ppc32/include/byteorder.h
/branches/dd/uspace/lib/libc/arch/sparc64/include/byteorder.h
/branches/dd/uspace/lib/libc/malloc
/branches/dd/HelenOS.config
/branches/dd/contrib/conf/mips32-gx.sh
/branches/dd/defaults/amd64/Makefile.config
/branches/dd/defaults/arm32/Makefile.config
/branches/dd/defaults/ia32/Makefile.config
/branches/dd/defaults/ia64/Makefile.config
/branches/dd/defaults/mips32/Makefile.config
/branches/dd/defaults/ppc32/Makefile.config
/branches/dd/defaults/sparc64/Makefile.config
/branches/dd/kernel/Makefile
/branches/dd/kernel/arch/amd64/Makefile.inc
/branches/dd/kernel/arch/arm32/Makefile.inc
/branches/dd/kernel/arch/ia32/Makefile.inc
/branches/dd/kernel/arch/ia64/Makefile.inc
/branches/dd/kernel/arch/ia64/include/atomic.h
/branches/dd/kernel/arch/ia64/include/mm/tlb.h
/branches/dd/kernel/arch/ia64/src/ivt.S
/branches/dd/kernel/arch/ia64/src/mm/tlb.c
/branches/dd/kernel/arch/mips32/Makefile.inc
/branches/dd/kernel/arch/mips32/include/context_offset.h
/branches/dd/kernel/arch/mips32/include/elf.h
/branches/dd/kernel/arch/ppc32/Makefile.inc
/branches/dd/kernel/arch/ppc32/src/ppc32.c
/branches/dd/kernel/arch/sparc64/Makefile.inc
/branches/dd/kernel/arch/sparc64/include/atomic.h
/branches/dd/kernel/arch/sparc64/include/context.h
/branches/dd/kernel/arch/sparc64/src/asm.S
/branches/dd/kernel/doc/mm
/branches/dd/kernel/genarch/Makefile.inc
/branches/dd/kernel/genarch/include/drivers/via-cuda/cuda.h
/branches/dd/kernel/genarch/src/acpi/acpi.c
/branches/dd/kernel/genarch/src/drivers/via-cuda/cuda.c
/branches/dd/kernel/genarch/src/kbrd/kbrd.c
/branches/dd/kernel/genarch/src/mm/page_ht.c
/branches/dd/kernel/generic/include/byteorder.h
/branches/dd/kernel/generic/include/context.h
/branches/dd/kernel/generic/include/string.h
/branches/dd/kernel/generic/src/main/uinit.c
/branches/dd/kernel/generic/src/printf/printf_core.c
/branches/dd/uspace/app/bdsh/cmds/modules/bdd/bdd.c
/branches/dd/uspace/app/bdsh/cmds/modules/ls/ls.c
/branches/dd/uspace/app/bdsh/cmds/modules/ls/ls.h
/branches/dd/uspace/app/bdsh/exec.c
/branches/dd/uspace/app/bdsh/input.c
/branches/dd/uspace/app/bdsh/util.c
/branches/dd/uspace/app/getvc/getvc.c
/branches/dd/uspace/app/init/Makefile
/branches/dd/uspace/app/init/init.c
/branches/dd/uspace/app/tester/Makefile
/branches/dd/uspace/app/tester/console/console1.c
/branches/dd/uspace/app/tester/fault/fault1.c
/branches/dd/uspace/app/tester/fault/fault2.c
/branches/dd/uspace/app/tester/ipc/connect.c
/branches/dd/uspace/app/tester/ipc/ping_pong.c
/branches/dd/uspace/app/tester/ipc/register.c
/branches/dd/uspace/app/tester/loop/loop1.c
/branches/dd/uspace/app/tester/print/print1.c
/branches/dd/uspace/app/tester/print/print1.def
/branches/dd/uspace/app/tester/print/print4.c
/branches/dd/uspace/app/tester/stdio/stdio1.c
/branches/dd/uspace/app/tester/stdio/stdio2.c
/branches/dd/uspace/app/tester/tester.c
/branches/dd/uspace/app/tester/tester.h
/branches/dd/uspace/app/tester/thread/thread1.c
/branches/dd/uspace/app/tester/vfs/vfs1.c
/branches/dd/uspace/app/tetris/scores.c
/branches/dd/uspace/app/tetris/scores.h
/branches/dd/uspace/app/tetris/screen.c
/branches/dd/uspace/app/tetris/tetris.c
/branches/dd/uspace/app/trace/trace.c
/branches/dd/uspace/lib/libblock/libblock.c
/branches/dd/uspace/lib/libblock/libblock.h
/branches/dd/uspace/lib/libc/Makefile
/branches/dd/uspace/lib/libc/Makefile.toolchain
/branches/dd/uspace/lib/libc/arch/amd64/Makefile.inc
/branches/dd/uspace/lib/libc/arch/arm32/Makefile.inc
/branches/dd/uspace/lib/libc/arch/ia32/Makefile.inc
/branches/dd/uspace/lib/libc/arch/ia64/Makefile.inc
/branches/dd/uspace/lib/libc/arch/mips32/Makefile.inc
/branches/dd/uspace/lib/libc/arch/mips32eb/Makefile.inc
/branches/dd/uspace/lib/libc/arch/ppc32/Makefile.inc
/branches/dd/uspace/lib/libc/arch/sparc64/Makefile.inc
/branches/dd/uspace/lib/libc/arch/sparc64/include/fibril.h
/branches/dd/uspace/lib/libc/arch/sparc64/include/stack.h
/branches/dd/uspace/lib/libc/generic/as.c
/branches/dd/uspace/lib/libc/generic/async.c
/branches/dd/uspace/lib/libc/generic/devmap.c
/branches/dd/uspace/lib/libc/generic/getopt.c
/branches/dd/uspace/lib/libc/generic/io/console.c
/branches/dd/uspace/lib/libc/generic/io/io.c
/branches/dd/uspace/lib/libc/generic/io/printf_core.c
/branches/dd/uspace/lib/libc/generic/libc.c
/branches/dd/uspace/lib/libc/generic/mman.c
/branches/dd/uspace/lib/libc/generic/task.c
/branches/dd/uspace/lib/libc/generic/vfs/vfs.c
/branches/dd/uspace/lib/libc/include/async.h
/branches/dd/uspace/lib/libc/include/bitops.h
/branches/dd/uspace/lib/libc/include/byteorder.h
/branches/dd/uspace/lib/libc/include/devmap.h
/branches/dd/uspace/lib/libc/include/errno.h
/branches/dd/uspace/lib/libc/include/fibril.h
/branches/dd/uspace/lib/libc/include/getopt.h
/branches/dd/uspace/lib/libc/include/io/console.h
/branches/dd/uspace/lib/libc/include/ipc/console.h
/branches/dd/uspace/lib/libc/include/ipc/devmap.h
/branches/dd/uspace/lib/libc/include/ipc/fb.h
/branches/dd/uspace/lib/libc/include/ipc/ns.h
/branches/dd/uspace/lib/libc/include/ipc/vfs.h
/branches/dd/uspace/lib/libc/include/macros.h
/branches/dd/uspace/lib/libc/include/malloc.h
/branches/dd/uspace/lib/libc/include/mem.h
/branches/dd/uspace/lib/libc/include/stdio.h
/branches/dd/uspace/lib/libc/include/stdlib.h
/branches/dd/uspace/lib/libc/include/string.h
/branches/dd/uspace/lib/libc/include/sys/stat.h
/branches/dd/uspace/lib/libc/include/task.h
/branches/dd/uspace/lib/libc/include/unistd.h
/branches/dd/uspace/lib/libc/include/vfs/vfs.h
/branches/dd/uspace/lib/libfs/libfs.c
/branches/dd/uspace/lib/libfs/libfs.h
/branches/dd/uspace/lib/softfloat/Makefile
/branches/dd/uspace/lib/softfloat/include/sftypes.h
/branches/dd/uspace/srv/bd/ata_bd/ata_bd.c
/branches/dd/uspace/srv/bd/ata_bd/ata_bd.h
/branches/dd/uspace/srv/bd/file_bd/file_bd.c
/branches/dd/uspace/srv/bd/gxe_bd/gxe_bd.c
/branches/dd/uspace/srv/bd/rd/rd.c
/branches/dd/uspace/srv/console/console.c
/branches/dd/uspace/srv/console/screenbuffer.h
/branches/dd/uspace/srv/devmap/devmap.c
/branches/dd/uspace/srv/fb/ega.c
/branches/dd/uspace/srv/fb/fb.c
/branches/dd/uspace/srv/fb/ppm.c
/branches/dd/uspace/srv/fb/serial_console.c
/branches/dd/uspace/srv/fs/devfs/devfs.c
/branches/dd/uspace/srv/fs/devfs/devfs_ops.c
/branches/dd/uspace/srv/fs/devfs/devfs_ops.h
/branches/dd/uspace/srv/fs/fat/fat.c
/branches/dd/uspace/srv/fs/fat/fat.h
/branches/dd/uspace/srv/fs/fat/fat_fat.c
/branches/dd/uspace/srv/fs/fat/fat_idx.c
/branches/dd/uspace/srv/fs/fat/fat_ops.c
/branches/dd/uspace/srv/fs/tmpfs/tmpfs.c
/branches/dd/uspace/srv/fs/tmpfs/tmpfs.h
/branches/dd/uspace/srv/fs/tmpfs/tmpfs_dump.c
/branches/dd/uspace/srv/fs/tmpfs/tmpfs_ops.c
/branches/dd/uspace/srv/kbd/ctl/pc.c
/branches/dd/uspace/srv/kbd/genarch/gsp.c
/branches/dd/uspace/srv/kbd/layout/cz.c
/branches/dd/uspace/srv/kbd/layout/us_qwerty.c
/branches/dd/uspace/srv/kbd/port/i8042.c
/branches/dd/uspace/srv/loader/arch/ia32/ia32.s
/branches/dd/uspace/srv/loader/elf_load.c
/branches/dd/uspace/srv/loader/main.c
/branches/dd/uspace/srv/ns/ns.c
/branches/dd/uspace/srv/ns/task.c
/branches/dd/uspace/srv/ns/task.h
/branches/dd/uspace/srv/vfs/vfs.c
/branches/dd/uspace/srv/vfs/vfs.h
/branches/dd/uspace/srv/vfs/vfs_file.c
/branches/dd/uspace/srv/vfs/vfs_lookup.c
/branches/dd/uspace/srv/vfs/vfs_node.c
/branches/dd/uspace/srv/vfs/vfs_ops.c
/branches/dd/uspace/srv/vfs/vfs_register.c
3022
5925 d 7 h
decky
/branches/dd/
device drivers branch
/branches/dd
2479
6266 d 5 h
jermar
/trunk/
New, better-structured, directory layout for uspace.
/trunk/uspace/app
/trunk/uspace/app/init
/trunk/uspace/app/klog
/trunk/uspace/app/tester
/trunk/uspace/app/tetris
/trunk/uspace/lib
/trunk/uspace/lib/libc
/trunk/uspace/lib/softfloat
/trunk/uspace/lib/softint
/trunk/uspace/srv
/trunk/uspace/srv/console
/trunk/uspace/srv/fb
/trunk/uspace/srv/fs
/trunk/uspace/srv/kbd
/trunk/uspace/srv/ns
/trunk/uspace/srv/pci
/trunk/uspace/srv/rd
/trunk/uspace/console
/trunk/uspace/fb
/trunk/uspace/fs
/trunk/uspace/init
/trunk/uspace/kbd
/trunk/uspace/klog
/trunk/uspace/libc
/trunk/uspace/ns
/trunk/uspace/pci
/trunk/uspace/rd
/trunk/uspace/softfloat
/trunk/uspace/softint
/trunk/uspace/tester
/trunk/uspace/tetris
/trunk/boot/arch/amd64/Makefile.inc
/trunk/boot/arch/arm32/loader/Makefile
/trunk/boot/arch/ia32/Makefile.inc
/trunk/boot/arch/ia32xen/Makefile.inc
/trunk/boot/arch/mips32/loader/Makefile
/trunk/boot/arch/ppc32/loader/Makefile
/trunk/boot/arch/ppc64/loader/Makefile
/trunk/boot/arch/sparc64/loader/Makefile
/trunk/contrib/conf/ski.conf
/trunk/uspace/Makefile
/trunk/uspace/app/init/Makefile
/trunk/uspace/app/klog/Makefile
/trunk/uspace/app/tester/Makefile
/trunk/uspace/app/tetris/Makefile
/trunk/uspace/app/tetris/input.c
/trunk/uspace/app/tetris/screen.c
/trunk/uspace/lib/libc/Makefile
/trunk/uspace/lib/libc/arch/amd64/_link.ld.in
/trunk/uspace/lib/libc/arch/arm32/Makefile.inc
/trunk/uspace/lib/libc/arch/arm32/_link.ld.in
/trunk/uspace/lib/libc/arch/ia32/_link.ld.in
/trunk/uspace/lib/libc/arch/ia64/Makefile.inc
/trunk/uspace/lib/libc/arch/ia64/_link.ld.in
/trunk/uspace/lib/libc/arch/mips32/Makefile.inc
/trunk/uspace/lib/libc/arch/mips32/_link.ld.in
/trunk/uspace/lib/libc/arch/ppc32/_link.ld.in
/trunk/uspace/lib/libc/arch/ppc64/_link.ld.in
/trunk/uspace/lib/libc/arch/sparc64/_link.ld.in
/trunk/uspace/srv/console/Makefile
/trunk/uspace/srv/fb/Makefile
/trunk/uspace/srv/fs/Makefile
/trunk/uspace/srv/kbd/Makefile
/trunk/uspace/srv/ns/Makefile
/trunk/uspace/srv/pci/Makefile
/trunk/uspace/srv/pci/libpci/Makefile
/trunk/uspace/srv/rd/Makefile
2230
6341 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
/trunk/uspace/libc/generic/io/printf_core.c
/trunk/uspace/libc/generic/io/vprintf.c
/trunk/uspace/tester/thread/thread1.c
2229
6341 d 5 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.
/trunk/kernel/generic/src/proc/thread.c
/trunk/uspace/libc/arch/sparc64/src/thread_entry.s
/trunk/uspace/libc/generic/io/printf_core.c
/trunk/uspace/libc/generic/io/vprintf.c
/trunk/uspace/tester/fault/fault1.c
/trunk/uspace/tester/fault/fault2.c
/trunk/uspace/tester/thread/thread1.c
2216
6342 d 22 h
decky
/trunk/
make thread ID 64 bit (task ID is 64 bit already)
cleanup thread syscalls
/trunk/kernel/arch/amd64/include/types.h
/trunk/kernel/arch/arm32/include/types.h
/trunk/kernel/arch/ia32/include/types.h
/trunk/kernel/arch/ia32xen/include/types.h
/trunk/kernel/arch/ia64/include/types.h
/trunk/kernel/arch/mips32/include/types.h
/trunk/kernel/arch/ppc32/include/types.h
/trunk/kernel/arch/ppc64/include/types.h
/trunk/kernel/arch/sparc64/include/types.h
/trunk/kernel/generic/include/interrupt.h
/trunk/kernel/generic/include/proc/task.h
/trunk/kernel/generic/include/proc/thread.h
/trunk/kernel/generic/src/adt/btree.c
/trunk/kernel/generic/src/console/cmd.c
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/proc/scheduler.c
/trunk/kernel/generic/src/proc/task.c
/trunk/kernel/generic/src/proc/thread.c
/trunk/kernel/generic/src/syscall/syscall.c
/trunk/kernel/test/fpu/fpu1.c
/trunk/kernel/test/fpu/mips2.c
/trunk/kernel/test/fpu/sse1.c
/trunk/kernel/test/mm/falloc2.c
/trunk/kernel/test/mm/slab1.c
/trunk/kernel/test/mm/slab2.c
/trunk/kernel/test/synch/rwlock3.c
/trunk/kernel/test/synch/rwlock4.c
/trunk/kernel/test/synch/semaphore2.c
/trunk/kernel/test/thread/thread1.c
/trunk/uspace/libc/generic/thread.c
/trunk/uspace/libc/include/thread.h
/trunk/uspace/tester/thread/thread1.c
2210
6343 d 0 h
decky
/trunk/
use more useful values
/trunk/kernel/test/thread/thread1.c
/trunk/uspace/tester/thread/thread1.c
2188
6344 d 4 h
decky
/trunk/
new user space testing framework (unfinished)
/trunk/uspace/tester/ipc
/trunk/uspace/tester/ipc/connect.c
/trunk/uspace/tester/ipc/connect.def
/trunk/uspace/tester/ipc/register.c
/trunk/uspace/tester/ipc/register.def
/trunk/uspace/tester/print
/trunk/uspace/tester/print/print1.c
/trunk/uspace/tester/print/print1.def
/trunk/uspace/tester/tester.h
/trunk/uspace/tester/thread
/trunk/uspace/tester/thread/thread1.c
/trunk/uspace/tester/thread/thread1.def
/trunk/kernel/test/print/print1.c
/trunk/uspace/libc/generic/thread.c
/trunk/uspace/libc/generic/time.c
/trunk/uspace/libc/include/thread.h
/trunk/uspace/libc/include/unistd.h
/trunk/uspace/tester/Makefile
/trunk/uspace/tester/tester.c