Job specifications from a data file

Assignment Help Basic Computer Science
Reference no: EM131111524

The star indicates that the pair of fields may be repeated 0 or more times.

j:<index>:<name>:<creature index>:<time>[:<required artifact type>:<number>]*

The project will be graded according the criteria for the final project - see below.

Elaboration:

  1. Reading Job specifications from a data file and adding the required resources to each Job instance.
    • j:<index>:<name>:<creature index>:<time>[:<required artifact type>:<number>]*
  2. Resource pools - data structures supporting artifacts of a given type within each party, resource pools, along with supporting assignment to creatures
  3. Job threads - using the resource pools and supporting the concept of blocking until required resources are available before proceeding.
  4. The Job threads should be efficient:
    1. If both the Creature of that Job and all the required resources are available, the Job should start.
    2. Otherwise, the Job should not hold any resources if it cannot progress.
    3. Use synchronization to avoid race conditions.
    4. Each Job thread should hold any required synchronization locks for a very short period.
  5. GUI showing:
    • Resources in pools
    • Thread progress, resources acquired, and resources requests still outstanding

Reference no: EM131111524

Consider the word processor

The communication of the message from the man to the machine is one factor to be considered. The other factor is the communication of the responding message from the machine

Bursts for all of the processes running on our os

Our goal is to change the scheduler in xv6 to something a bit more robust, but before we even get to that step we're going to need some accounting facilities to keep track o

Annual report for marks and spencer plc

Download the 2011 Annual Report for Marks and Spencer PLC, from the link provided on Study Space. Review the Annual Report, paying particular attention to the Financial Statem

Short-distance baseband transmission and for ir signaling

Line-coding is a technique used in short-distance baseband transmission and for IR signaling. Based on the NZR (non-zero) Manchester-encoding technique, line-coding for IR s

Assignment-cloud computing slide presentation

Image that you are a member of a development team that is creating a large and important web-based application. This application is critical to the company and must be avail

Unsatisfied preconditions for actions and plans

Incorrect information results in unsatisfied preconditions for actions and plans. _____________ detects violations of the preconditions for successful completion of the plan

Write a program that uses recursive method

A palindome is a string that reads the same both forward and backward. For example, the string "madam" is a palindrome. Write a program that uses a recursive method to check

Process of radioactivity for imaging

Nuclear medicine is a specialized branch of modern medicine that exploits the process of radioactivity for imaging, diagnosis, and treatment. Many imaging techniques inject

Reviews

Write a Review

 
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd