Logo ROOT  
Reference Guide
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 "TRandom3.h"
#include "TString.h"
#include "TApplication.h"
#include "TTimer.h"
#include "TROOT.h"
#include "TEnv.h"
#include "TExec.h"
#include <thread>
#include <chrono>
#include <iostream>
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() More...
 
static bool gWebWinMainThrdSet = true
 

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 89 of file RWebWindowsManager.cxx.

◆ gWebWinMainThrdSet

bool gWebWinMainThrdSet = true
static

Definition at line 90 of file RWebWindowsManager.cxx.