Questions tagged [tasklet]

41 questions
1
vote
0 answers

Parallelize get_serving_url in GAE Python

The Traces graph showed /images.GetUrlBase calls for my search function. I tried to make it call get_serving_url () in parallel but still the Traces graph shows the calls as sequential. How do I make it parallel ? My Attempt class Gets …
gsinha
  • 1,165
  • 2
  • 18
  • 43
1
vote
0 answers

how to dump tasklets status in python

I have a complex python program running 100 tasklets simultaneously. I want to take dump of all the running tasklets including their current status and back trace at the time of exception. Can any one let me know how can this be done ? Thanks
Ravi
  • 173
  • 1
  • 10
1
vote
2 answers

How define a spring batch chunk in the tasklet with code

I have a spring-batch xml-based configuration that should be migrated to annotation-based configuration. but I can't find any solution to define a chunk into the tasklet definition. There are my xml and code base decleration:
nsafari
  • 93
  • 1
  • 3
  • 11
1
vote
1 answer

Spring Batch Multiple Job execution

I am using a spring batch tasklet for batch processing and my scenario is to do the below process once in a day at say 11 PM in the night. The process are Read a file and process write the data to the DB archive the file. But when I execute the job,…
sriramdev
  • 759
  • 1
  • 5
  • 11
1
vote
1 answer

Create tasklets at runtime

Just starting with Stackless Python. I'm trying to create some tasklets at run time, that is, after calling stackless.run(). I thought this function wouldn't block the main thread, so I would be able to create new tasklets when necessary. So I…
cdonts
  • 9,304
  • 4
  • 46
  • 72
1
vote
1 answer

what will happen to tasklet execution if interrupt occurs in between

The things I know about tasklet: Tasklet runs with all interrupt enabled. The tasklet runs in interrupt context. It can't be sleep. It runs in atomic way. it has the assurance to be scheduled never late than next tick. My questions: Since in…
one.prav
  • 51
  • 5
1
vote
1 answer

linux tasklets - order of execution

At my university I am working on one project that involves some kernel programming. One part of this is loadable kernel module that registers interrupt handler for some given interrupt. Now I have shared data structure that is used by interrupt…
Andna
  • 6,539
  • 13
  • 71
  • 120
0
votes
1 answer

Scheduling multiple tasklets in linux

I am new to tasklets in Linux. Here I am scheduling 3 tasklets in ISR. But what I observed is that only one tasklet in…
anoopknr
  • 3,177
  • 2
  • 23
  • 33
0
votes
1 answer

Batch Tasklet to read from database with select query

How can I create a tasklet class to make a custom select query from DB and pass the data to the next tasklet? I have to use tasklet (no jdbcReader or any reader) Code Sample: public class Taskletreader implements Tasklet, StepExecutionListener{ …
0
votes
0 answers

Operate with i2c-device from tasklet

I write a driver for i2c rtc chip for learning purpose. The driver can detect interrupts on GPIO pin from rtc chip. I want to schedule a tasklet into interrupt context and do some usefull work into the tasklet later. GPIO irq handler: static…
Anisyanka
  • 63
  • 8
0
votes
1 answer

Spring Batch: is this a tasklet or chunk?

I'm a little bit confused! Spring Batch provides two different ways for implementing a job: using tasklets and chunks. So, when I have this:
Teymo
  • 11
  • 1
  • 3
0
votes
1 answer

Spring batch parallel processing create steps based on the step1 result

I am trying to implement parallel processing using spring boot and spring batch. This batch will be triggered from UI with some required parameters I need to create steps based on the request parameters, I tried as below, The rest controller…
0
votes
2 answers

When save states while dealing with tasklets?

I'm reading Linux Kernel development and get confused in the tasklets chapter (https://doc.lagout.org/operating%20system%20/linux/Linux%20Kernel%20Development%2C%203rd%20Edition.pdf page143). In the tasklet_schedule function, the interrupt state…
0
votes
1 answer

Killing a tasklet while holdiing spin_lock_irqsave

I am using the following API to kill a tasklet: tasklet_kill(); While killing the tasklet, I have disabled local interrupts using spin_lock_irqsave. Why does the kernel throws the following message(warning?): Attempt to kill tasklet from…
0
votes
1 answer

Osgi DOTS error with HTTP task

Osgi DOTS error with HTTP task I have strange behavior with these tasks. If the http task is running, error is displayed ArrayIndexOutOfBoundsException. > load dots - Domino OSGi Tasklet Container is alreadyrunning with this profile: Message Queue…