Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RWebWindowsManager.cxx File Reference
#include <ROOT/RWebWindowsManager.hxx>
#include <ROOT/RLogger.hxx>
#include <ROOT/RWebDisplayArgs.hxx>
#include <ROOT/RWebDisplayHandle.hxx>
#include "RWebWindowWSHandler.hxx"
#include "THttpServer.h"
#include "TSystem.h"
#include "TRandom.h"
#include "TString.h"
#include "TApplication.h"
#include "TTimer.h"
#include "TROOT.h"
#include "TEnv.h"
#include <thread>
#include <chrono>
Include dependency graph for RWebWindowsManager.cxx:

Variables

static std::thread::id gWebWinMainThrd = std::this_thread::get_id()
 This thread id used to identify main application thread, where ROOT event processing runs To inject code in that thread, one should use TTimer (like THttpServer does) In other threads special run methods have to be invoked like RWebWindow::Run()
 

Variable Documentation

◆ gWebWinMainThrd

std::thread::id gWebWinMainThrd = std::this_thread::get_id()
static

This thread id used to identify main application thread, where ROOT event processing runs To inject code in that thread, one should use TTimer (like THttpServer does) In other threads special run methods have to be invoked like RWebWindow::Run()

TODO: probably detection of main thread should be delivered by central ROOT instances like gApplication or gROOT Main thread can only make sense if special processing runs there and one can inject own functionality there

Definition at line 65 of file RWebWindowsManager.cxx.