Questions tagged [locked]

244 questions
1
vote
1 answer

Oracle PL/SQL capture lock exception in loop and continue

I have a procedure below, which loops through a cursor does some logic. I have put FOR UPDATE NOWAIT on the cursor to lock my records set, in case someone from another session wants to update the same set. But there may be a scenario where the…
William Mu
  • 115
  • 5
  • 16
1
vote
0 answers

Adobe Air SQLite synchronous busy timeout / SQLite concurrent access / avoid busy loop

this is my first post here. I'm asking because I ran out of clues and I was unable to find anything about this specific issue. My question is: In Adobe AIR, is there a way to do a synchronous usleep() equivalent (delay execution of 200ms),…
Tino
  • 9,583
  • 5
  • 55
  • 60
1
vote
5 answers

Manipulating files block them

I'm writing a WinForms program that uses MEF to load assemblies. Those assemblies are not located in the same folder than the executable. As I need to perform some file maintenance, I implemented some code in the file Program.cs, before loading the…
1
vote
1 answer

Matlab Simulink Simulation Time

I am using Simulink from Matlab. When plotting anything the Simulation Step Time is extremely slow. How can I change the step time in settings. I have tried a lot but I don't understand the settings pretty much. Update: Phase Locked Loop
Tes3awy
  • 2,166
  • 5
  • 29
  • 51
1
vote
1 answer

C# Determine how long a file has been locked for

EDIT I know the file is locked (i.e. I do not need to check if it is locked). Rather, I want to know how long it has been locked for. e.g. 1 hour, 24 hours etc. Is it possible to determine how long a file has been locked for in C#? I have an…
Cameron
  • 229
  • 1
  • 5
  • 17
1
vote
0 answers

in wso2 identity server 5.1.0, locked user can still connect to management console. how to fix?

I installed wso2 identity server 5.1. I locked one user 'test1', but it can still connect to the management console ( I gave the user login privilege) even after a hour. does anyone know whether it is a configuration problem or a know issue to…
tonydeck
  • 31
  • 4
1
vote
1 answer

C# Windows form application is locked during runtime

I'm new to C# and i have a problem ... when i run my windows form application and press start button, during runtime i can't do anything with the form (close, minimize, move, ...) but when it's done i can close the form. What should i do to solve…
HBasiri
  • 343
  • 1
  • 6
  • 16
1
vote
3 answers

How can I lock a single row in Oracle SQL

It seems simple but I struggle with it. The question is how can I lock for example a single row from the table JOBS with JOB_ID = IT_PROG. I want to do it, because I want to try an exception from a procedure, where it displays you a message when you…
Cr1ms0nStraY
  • 81
  • 1
  • 2
  • 11
1
vote
1 answer

catch locked oracle sql record c#

I try to update a record via c#. It works fine, but if someone else edits the same record and doesnt commit or rollback it (so the transaction is still open) the program freezes until it gets commited or rollbacked. its not a problem, but i dont…
Tommehh
  • 872
  • 1
  • 17
  • 44
1
vote
1 answer

C# Winform : Control locked but locked propety is set to false

I have a really strange situation in my winform application. I'm trying to change the design of a certain form but controls are locked so I can't do anything. If I right click on it, the lock button is not pressed. If I check properties of the…
Robouste
  • 3,020
  • 4
  • 33
  • 55
1
vote
1 answer

Running VBScript through task scheduler while computer is locked

I have a script that loads an excel file from some link, and then writes some information from the excel file to a text file. I set up a task on Task Scheduler to run the script and then email the text file, and it works fine while logged on. It…
dkulikov
  • 13
  • 3
1
vote
1 answer

I have some problems in 3 activity for pass int to another class and unlocked level

I have main.xml and main.class that has two buttons named : Level 1 and Level 2 each button has a function to open another class level1.setOnClickListener(new View.OnClickListener() { @Override public void…
user5161492
1
vote
0 answers

Detect & Limiting Direction of Scrolling

A website I recently stumbled across - http://www.nuabikes.com/ Nuabike.com can detected & limit the direction the amount their users can scroll along the y-axis which then locks the page/panel into a position before moving onto another section of…
Jargonaut_
  • 155
  • 1
  • 11
1
vote
1 answer

Require a Password to close an HTA

I was hoping someone would be able to proved me some direction. I would like to set an application launcher I have created to require a password to be closed. Thank you for any assistance you are able to offer. But here is some incomplete code to…
BaTan
  • 11
  • 1
1
vote
1 answer

In Android which causes SQLiteDatabaseLockedException exception to be thrown

I want to know what happens behind the scenes which causes this exception "SQLiteDatabaseLockedException" to be thrown with message "database is locked". I am not asking for resolving this exception (because I already did it.) I want to know how the…
Naveen
  • 21
  • 8