Make working directory a per-thread property
|Reported by:||Jiri Svoboda||Owned by:|
|Blocker for:||Depends on:|
Currently the working directory is a property of the task as a whole (same as in POSIX). This is incompatible with multi-threaded applications.
I propose to change WD to be a thread(fibril)-local property.
Compatibility analysis: This will not affect single-threaded POSIX applications. This could only break multi-threaded POSIX applications that rely on setting WD in one thread and then accessing it in another. It could be fixed in the prospective POSIX compatibility layer, however.