Skip to main content

Questions tagged [preemptive]

The tag has no usage guidance, but it has a tag wiki.

preemptive
0 votes
0 answers
46 views

How to implement a gantt chart

Hello i want to integrate a combined CPU scheduling gantt chart, Here is my code without a gantt chart (this works perfectly, but still no gantt chart): #include <iostream> #include <fstream&...
chae's user avatar
  • 11
0 votes
0 answers
35 views

Shortest Job First Preemptve technique

I'm working on a Java program to simulate the Shortest Job First (SJF) preemptive algorithm and then visualize the execution using a Gantt chart. I have the algorithm logic implemented, but I'm ...
Ahmed Ehab's user avatar
0 votes
1 answer
76 views

Non-preemptive authentication is not working with Jetty client library

I am trying to do non-preemptive authentication (get 401-unauthorized with request round trip) with Jetty client. But I'm unable to get request round trip after using below code snippet. ...
ashwine's user avatar
1 vote
1 answer
333 views

Linux Kernel thread preemption

I am having a doubt on the premptiveness of the Linux kernel. I know that user space processes and threads are premptible, but what about kernel level threads, those created using kthread_create. If a ...
Haswell's user avatar
  • 1,622
0 votes
1 answer
118 views

How to obfuscate const variable values using dotfuscator

This is my code: namespace Password.Lib { public class PassRepo: IPassRepo { const string mEntropy= "djbiudv-dsvjkbdjs-svdjkbv"; const string logLevel = "...
Tina's user avatar
  • 15
0 votes
1 answer
329 views

Do we still need runtime.Gosched() in go 1.19?

Regarding this post As that post mentioned, we don't need to put runtime.Gosched() anymore, since Go 1.15 But I still got the issue in Go 1.19. Concisely, I don't use runtime.Goshed() I used runtime....
Huey Bui's user avatar
0 votes
0 answers
70 views

Using Constraint Programming to model preemptive task with energy allocation over periods

I have a linear model that works fine but has a huge amount of time of resolution that I want to reduce. One approach is that I convert it to constraint programming. Supposing that I have a specific ...
Ali Fradi's user avatar
1 vote
1 answer
768 views

Azure Spot VM average up time [closed]

I am trying to evaluate whether I should use Spot VMs and the measure for availability is given as a percentage by Azure. https://www.linkedin.com/pulse/viewing-eviction-rates-spot-virtual-machines-...
Tensing2009's user avatar
0 votes
1 answer
763 views

Apache httpclient 4.5.13 preemptive authentication or not

I came across this code, which I am trying to refactor the deprecated usage of DefaultHttpClient to use HttpClientBuilder and trying to replicate the authentication part. In HttpClientBuilder world I ...
radio's user avatar
  • 988
1 vote
0 answers
93 views

Creating a schedule for an example task set with non-preemptive Deadline Monotonic (fixed priority) scheduling

In the effort of trying to understand a fixed priority scheduling scheme, such as Deadline Monotonic schedulers, amidst the horribly written definitions online -- I'm trying to schedule an example ...
Mo Kanj's user avatar
  • 117
0 votes
1 answer
371 views

gcp vm workers default gateway

I am using GCP preemptible VMs for my workers. However, GCP limits the in-use addresses to 8. I requested for increase, but they rejected it. I tried to use their NAT, but it seems to be a 1:1 NAT. ...
Gary Leong's user avatar
1 vote
0 answers
61 views

How to calculate the Starting time in a preemptive priority scheduling?

The problem I am facing is that I can not find a way to calculate the start time (called startedAt in the code), so I am able to calculate the turnAround times and the wait times. The logic I am using ...
FaissalPearson's user avatar
0 votes
1 answer
37 views

Would preemptive scheduling affects speed of moving file?

Suppose I move file from Drive C to D. If I set the environment such OS will schedule processes as preemptive scheduling, would it be affect the speed of moving file? I have heard that moving file is ...
jadon's user avatar
  • 29
0 votes
1 answer
46 views

What kind of procedure is used to calculate the thread

there is a thread in the following task. How can I see whether Round Robin, FIFO or Preemptive Scheduling was used there? void High_Thread(void const *argument) { while(1) { ...
oeztuerk_42's user avatar
1 vote
1 answer
864 views

How to implement Priority Preemptive Scheduling (similar to interrupts) with threads in C++

I want to write a C++ program on Windows (but preferably to support cross-platform) in which I have two threads that are scheduled based on Priority Preemptive Scheduling - which is like an interrupt ...
Eyal Gerber's user avatar
  • 1,447

15 30 50 per page
1
2 3 4 5 6