Skip to content

Command line options -D and -v2 will cause the KwikFlixTV to fail. #3

@mikepetry

Description

@mikepetry

Note that on line 420 there are three pthread_t variables:

    • thread1 is used to read a dir of files or a single file
    • thread2 is not used in the program and should be used to output the buffer state.
    • s_thread is used to send packets.

On line 765 pthread_create uses thread1 at parameter 1 even though thread1 will have already been created by the time this code executes.

Also there should be a line just prior to line 765: pthread_attr_setschedpolicy(&attr_d, policy_d)

  • Note that policy_d is not used in the program.
  • Line 754 has pthread_setinheritsched(&attr_d, PTHREAD_EXPLICIT_SCHED) which will use the scheduling policy from attr_d which is never set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions