Project

General

Profile

Actions

Improvements #14198

open

Optimize spinning lock in WebSession

Added by Matthias Van Ceulebroeck 4 days ago. Updated 4 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
12/11/2025
Due date:
% Done:

0%

Estimated time:

Description

When serving CSS to a suspended session, there will be a spinning lock taken, and released for a high number of iterations.
This is to ensure that a script request is caught before the style request is considered.
The script is responsible for creating the WApplication, and the application is required to generate the CSS.

There is the potential here between each spin cycle, for another thread to take this lock, and depending on the context of it, deadlock.

No data to display

Actions

Also available in: Atom PDF