Some small changes.
This commit is contained in:
parent
0d02779f2e
commit
f9640a5f99
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
cmake . -G"Ninja" -DLASP_HAS_ULDAQ=OFF #-DPython3_ROOT_DIR=C:\\winpython\\python-3.10.9.amd64
|
||||
cmake . -G"Ninja" -DLASP_HAS_ULDAQ=OFF -DPython3_ROOT_DIR=C:\\winpython\\python-3.10.9.amd64
|
||||
arch=ucrt64
|
||||
#arch=mingw64
|
||||
|
||||
|
2
setup.py
2
setup.py
@ -9,7 +9,7 @@ if 'Linux' in pf:
|
||||
# Split of path from file.
|
||||
extensions = list(glob.glob('src/lasp/' + ext_name_glob))
|
||||
elif 'Windows' in pf:
|
||||
ext_name_glob = 'lasp_cpp.cp*.pyd'
|
||||
ext_name_glob = 'lasp_cpp*.cp*.pyd'
|
||||
# Split of path from file.
|
||||
extensions = list(glob.glob('src\\lasp/' + ext_name_glob))
|
||||
else:
|
||||
|
@ -60,8 +60,8 @@ void StreamMgr::checkRightThread() const {
|
||||
void StreamMgr::rescanDAQDevices(bool background,
|
||||
std::function<void()> callback) {
|
||||
DEBUGTRACE_ENTER;
|
||||
DEBUGTRACE_PRINT(background);
|
||||
auto &pool = getPool();
|
||||
|
||||
checkRightThread();
|
||||
if (!_devices_mtx.try_lock()) {
|
||||
throw rte("A background DAQ device scan is probably already running");
|
||||
|
Loading…
Reference in New Issue
Block a user