KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums kdb+ C API, calling k within a thread Re: C API, calling k within a thread

  • gyorokpeter-kx

    Member
    July 26, 2023 at 12:00 am

    How is the thread started? It is only safe to call k(…) from a thread started by q itself. So it’s OK to call from C functions called by .z.pg regardless of multithreaded input mode, but it should not be called from a std::thread.