mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
Improved ThreadBase.
Improved Vertex Shader Decompiler.
This commit is contained in:
parent
d07b5f0dc8
commit
4b8d6b6919
23 changed files with 352 additions and 284 deletions
|
@ -193,11 +193,8 @@ int cellFsAioRead(mem_ptr_t<CellFsAio> aio, mem32_t aio_id, mem_func_ptr_t<void
|
|||
//get a unique id for the callback (may be used by cellFsAioCancel)
|
||||
const u32 xid = g_FsAioReadID++;
|
||||
|
||||
//read data in another thread (doesn't work correctly):
|
||||
//std::thread t(fsAioRead, fd, aio, xid, func);
|
||||
//t.detach();
|
||||
//read data immediately (actually it should be read in special thread):
|
||||
fsAioRead(fd, aio, xid, func);
|
||||
thread t("fsAioRead", std::bind(fsAioRead, fd, aio, xid, func));
|
||||
t.detach();
|
||||
|
||||
aio_id = xid;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue